From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julian Gehring Subject: Converting Org to Sweave (*.Rnw) Date: Tue, 17 Jul 2012 14:19:25 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sr6q3-0000qk-W1 for emacs-orgmode@gnu.org; Tue, 17 Jul 2012 08:25:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sr6pz-0006FB-MC for emacs-orgmode@gnu.org; Tue, 17 Jul 2012 08:25:15 -0400 Received: from plane.gmane.org ([80.91.229.3]:43460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sr6pz-0006F4-F4 for emacs-orgmode@gnu.org; Tue, 17 Jul 2012 08:25:11 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Sr6px-0002F1-D8 for emacs-orgmode@gnu.org; Tue, 17 Jul 2012 14:25:09 +0200 Received: from embln.embl.de ([194.94.44.220]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Jul 2012 14:25:09 +0200 Received: from julian.gehring by embln.embl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Jul 2012 14:25:09 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, is there a way to convert Org-mode files with R code blocks to the Sweave ('*.Rnw') [1] file format or has anyone planned to work on this? Sweave is heavily used in the R community in terms of literate programming, and has a tight integration into current package building workflows. Essentially, the file format is a latex document, with designated code chunks. Since Org/Org-babel offers a very similar feature set, and already covers the export to latex, I was wondering whether anyone is working on some code that would rewrite the code block headers in the export? In the R community, I have seen a lot of interest in such an exporter, that would allow to write the documentation in Org itself and later export it to several backends, including Sweave to integrate it in the R package. If anyone has some comments regarding this or is interested in working on this, please let me know. My colleagues and I would be very interested in contributing in projects in this direction. Best Julian [1] http://en.wikipedia.org/wiki/Sweave