Re: [R] Sweave : change value in rnw file to generate multiple "single" reports ?

From: Ptit_Bleu <ptit_bleu_at_yahoo.fr>
Date: Tue, 11 Dec 2007 07:04:49 -0800 (PST)

Dear Uwe,

Could you please give me the name of the function to open, to modify and to save a r script ?
Just the name and I will look for the way to use them.

And if you have a link explaining how to use user customized variables from an environment variable, it will be very helpful (as it is completely new to me).

Thanks in advance,
Ptit Bleu.


Within or before SWeave, you can use R.
Hence you can write some R function that first changes the rnw and runs SWeave thereafter, or even better, write something in your SWeave code that reads a user customized variables, e.g. from an environment variable or from some text file.

Uwe Ligges

-- 
View this message in context: http://www.nabble.com/Sweave-%3A-change-value-in-rnw-file-to-generate-multiple-%22single%22-reports---tp14256204p14275809.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_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.
Received on Tue 11 Dec 2007 - 15:07:12 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 11 Dec 2007 - 18:30:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.