I would like to have my R script files automatically executed at certain times each day. I have tried to add the script file to the Windows task scheduler but all that does is open up Rstudio and the file but no execution.I followed these steps Scheduling R Tasks via Windows Task Scheduler but this does not work on my computer. When I create the batch file, command won't open it. I need help!
Asked
Active
Viewed 95 times
0
-
The answer I gave [in this question](http://stackoverflow.com/questions/28263741/unable-to-run-r-script-through-bat-files-in-windows-server/28264171#28264171) was tested on Windows 8 - you would just need to add the batch file to the task scheduler after following the steps outlined. – nrussell Apr 13 '15 at 14:12
-
Conmsider using `jenkins`, a very usefull solution to manage automated tasks. https://jenkins-ci.org/ – Colonel Beauvel Apr 13 '15 at 14:45
1 Answers
0
Schedule R scripts/processes with the Windows task scheduler. This allows R users working on Windows to automate R processes on specific timepoints from R itself.
If you are looking for a Linux/Unix scheduler, you might be interested in the R package cronR available

Mehul Katara
- 907
- 11
- 32