Johannes SCHNITZLER wrote:
The second question:
I was trying to set the working directory while I'm calling a script
with Rterm.exe from the command line.
Something like
c:\Program Files\R\rw1090\bin\rterm.exe --vanilla "workingdir=c:/data/"
<test.r --args "Arg1" "Arg2"

Not sure - if you could pass the working directory as an arg, then R can handle it from there - use the setwd() command. What I usually do on Un*x-like systems is to cd to the directory first, then start the R run. Something like....


cd "my favorite dir"
R --vanilla ...

Since you're already specifying the absolute path for Rterm, the above should work...

Cheers

Jason

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to