From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: [babel] show R commands in html export Date: Mon, 19 Jul 2010 17:21:46 +0530 Message-ID: <20100719115146.GA22240@panahar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=46923 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OaoqA-00056s-CA for emacs-orgmode@gnu.org; Mon, 19 Jul 2010 07:48:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oaoq9-0004id-AK for emacs-orgmode@gnu.org; Mon, 19 Jul 2010 07:48:58 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:56594) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oaoq9-0004iU-61 for emacs-orgmode@gnu.org; Mon, 19 Jul 2010 07:48:57 -0400 Received: by pvc30 with SMTP id 30so4175503pvc.0 for ; Mon, 19 Jul 2010 04:48:55 -0700 (PDT) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Is it possible that org-babel shows not just the output of R commands but also R commands themselves in the html output? I could perhaps write the commands twice, once outside the code block (to make the commands appear as they are), and once inside the codeblock to display output of those commands. But is there a better solution? If using them twice is the only way, what would be the best way to set the code (when typed outside the codeblock) so that it is formatted properly in the html output? Vikas