Displaying 1 result from an estimated 1 matches for "treatdata".
Did you mean:
testdata
2007 Dec 10
7
Sweave : change value in rnw file to generate multiple "single" reports ?
...llo,
I'm still trying to make the life of my colleagues easier. Nice, isn't it ?
At the moment, I'm looking for a way to generate multiple "single report".
In fact I have a .rnw file which send a query to a MySQL database
(rs<-dbSendQuery(con, statement="select * from treatdata where
name='Device1'")
But of course my colleagues have many devices and don't want to enter the
rnw file to change the name of the device.
Is there a way to pass arguments to Sweave like Sweave("myfile.rnw",
namevar="Device2") and it will change namevar by De...