Displaying 1 result from an estimated 1 matches for "leitsch".
Did you mean:
leisch
2008 Oct 16
1
Rscript -e, Sweave and tempdir()
...o water quality analyses and have been writing software to call Sweave via Rscript eg:
cmd> Rscript -e Sweave('sweavefile.Rnw')
One problem we have been having is that Sweave tries to write temporary files in a temporary directory given by the tempdir() command (as per an email from F. Leitsch appended below). This is where our problem seems to lie.
As a simplified example, if we call
cmd> Rscript -e tempdir()
from our web service we get a win32(Cannot read memory:0x00000037) error message unless we grant Read+Write permissions to the root directory, which we are trying to avoid d...