From: Jason Turner (firstname.lastname@example.org)
Date: Fri 07 May 2004 - 23:59:49 EST
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.
cd "my favorite dir"
R --vanilla ...
Since you're already specifying the absolute path for Rterm, the above
Remail@example.com mailing list
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:08 EST