Re: [R] Using Windows 7 Task Scheduler with R source scripts

2011-07-08 Thread Tracy Waldon
In Windows Vista, here is what I do: Create a .bat file that calls R to run the script. Then set the task scheduler to run the batch file. It's a round about way but it works for me. # begin example of *.bat file contents cd C:\R\R-2.13.0\bin R CMD BATCH "C:\MyBats\MyBat.R" "C:\MyBats\MyO

Re: [R] Using Windows 7 Task Scheduler with R source scripts

2011-07-08 Thread Pfaff, Bernhard Dr.
Hello Dan, I reckon that you need to path a batch-file to the scheduler, i.e. something along the lines R CMD BATCH script.R shall be included in, say, 'RBatchjob.bat' and this file shall then be called by the task scheduler. Best, Bernhard > -Ursprüngliche Nachricht- > Von: r-he