[R] scheduling R tasks under windows

Mikkel Grum mi2kelgrum at yahoo.com
Tue Dec 21 21:17:30 CET 2004


I'm trying to schedule R tasks in Windows Server 2003.
I can run the following from the DOS prompt without
any difficulty:

c:\Reports>c:\r\rw2001\bin\rterm.exe --no-restore
--no-save <test.R> test.out

where test.r has two lines: library(tools);
Sweave("rlr.Rnw").

When I try to run the same from the task scheduler, I
fill in the dialogue box as follows:

Run:	c:\r\rw2001\bin\rterm.exe --no-restore --no-save
<test.R> test.out

Start in:	c:\Reports

Which opens Rterm, but is preceded by "ARGUMENT
'<test.R>' __ignored__" and "ARGUMENT 'test.out'
__ignored__"

Anyone know what I'm doing wrong?

Mikkel




More information about the R-help mailing list