Dirk, I came upon your message below in searching for a different Sweave topic. Have you pursued this? I'm new to R (9 months). Recently have been doing data analysis in R and have started pondering the same question, but don't have any ideas yet. I did do something related to this in SAS, the main purpose of which was to build a standardized file of statistical results to be transferred to Word tables. Thanks. Kem Phillips _____ For some recurrent tasks, I would like to programmatically generate input for Sweave. While I could do that with many languages, in particular some starting with the letter P, I wouldn't mind advancing two more positions in the alphabet and use R itself to generate input for Sweave. In other words I want to write R code that can write Rnw input files which will be turned into R code ... that ends up as dvi/pdf output. Has anybody done this before? Are there any frameworks to (re-)use ? Regards, Dirk -- Hell, there are no rules here - we're trying to accomplish something. -- Thomas A. Edison [[alternative HTML version deleted]]
baptiste auguie
2008-Nov-13 08:34 UTC
[R] R code to generate Sweave input ? Sweave squared ?
Hi, Your idea reminds me of an example in the documentation of the brew package, featuring the generation of a template. You might want to check it out. baptiste On Wed, Nov 12, 2008 at 2:01 PM, Kem Phillips <kemphillips@comcast.net>wrote:> Dirk, > > > > I came upon your message below in searching for a different Sweave topic. > Have you pursued this? I'm new to R (9 months). Recently have been doing > data analysis in R and have started pondering the same question, but don't > have any ideas yet. I did do something related to this in SAS, the main > purpose of which was to build a standardized file of statistical results to > be transferred to Word tables. > > > > Thanks. > > > > Kem Phillips > > > > > > _____ > > For some recurrent tasks, I would like to programmatically generate input > for > Sweave. While I could do that with many languages, in particular some > starting with the letter P, I wouldn't mind advancing two more positions in > the alphabet and use R itself to generate input for Sweave. > > In other words I want to write R code that can write Rnw input files which > will be turned into R code ... that ends up as dvi/pdf output. > > Has anybody done this before? Are there any frameworks to (re-)use ? > > Regards, Dirk > > -- > Hell, there are no rules here - we're trying to accomplish something. > -- Thomas A. Edison > > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- _____________________________ Baptiste AuguiƩ School of Physics University of Exeter Stocker Road, Exeter, Devon, EX4 4QL, UK Phone: +44 1392 264187 http://newton.ex.ac.uk/research/emag ______________________________ [[alternative HTML version deleted]]
Apparently Analagous Threads
- describe function in package Hmisc and function format.dates in chron (PR#13087)
- [slightly off topic] Sweave with markdown
- How to write a function that accepts unlimited number of input arguments?
- segment between points on different plots
- Polycom 650 freezing on Transfer