[R] R scheduling request

Greg Snow Greg.Snow at imail.org
Mon Jan 17 22:02:51 CET 2011


You could write a batch file and then have your OS schedule to run R on the batch file whenever you want (see Rscript for one approach of running the batch).

Inside of R you can use Sys.sleep to wait a certain amount of time before running the next command.  If you load the tcltk2 package then you can use the tclTaskSchedule function.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Alessandro Oggioni
> Sent: Saturday, January 15, 2011 6:19 AM
> To: r-help
> Subject: [R] R scheduling request
> 
> Dear all,
> I have used R.rps to produce a Google API chart (googleVis) with a
> data request in another server.
> But i don't understand how is possible to scheduling a request data
> to the server and after produce a update of the charts.
> Thanks in advance.
> Alessandro Oggioni
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> 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 mailing list