[R] Schedule R to run automatically
smckinney at bccrc.ca
Tue Dec 14 04:19:41 CET 2010
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of joeponzio
> Sent: December-13-10 4:13 PM
> To: r-help at r-project.org
> Subject: [R] Schedule R to run automatically
> Current I have raw data from several projects that is written to a drive on a
> daily basis. I would like to run a certain R syntax against these data sets
> (varying somewhat from data set to data set) every day at, say, 7am (with no
> human interaction). Is this possible to set up in windows or unix?
Yes, in both.
In Windows, you can use the "Task Scheduler" (Control Panel - Administrative Tools
on Windows 7). Set up the R script you want to run daily, and invoke it
with the R CMD BATCH command.
In Unix, you can use the cron scheduler to do the same.
> Thanks for any input.
> View this message in context: http://r.789695.n4.nabble.com/Schedule-R-to-run-automatically-
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help