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

From: Ptit_Bleu <>
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:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
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 Please read the posting guide before posting to the list.