[R] R code to generate Sweave input ? Sweave squared ?

Dirk Eddelbuettel edd at debian.org
Thu Mar 23 19:03:27 CET 2006


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




More information about the R-help mailing list