You could include a call to the "source" function that will read and run an R script (I have not tried this, but don't see any reason that it would not work).
-- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -----Original Message----- > From: Alessandro Oggioni [mailto:a.oggi...@ise.cnr.it] > Sent: Tuesday, January 18, 2011 6:33 AM > To: Greg Snow > Cc: r-help > Subject: Re: [R] R scheduling request > > Many thanks Greg! > I try to use tcltk2 and tclTaskSchedule function but in argument expr > is possible to insert a R script? > Have you an example? > Alessandro > > Il 17 gennaio 2011 22.02.51 UTC+1, Greg Snow <greg.s...@imail.org> ha > scritto: > > 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.s...@imail.org > > 801.408.8111 > > > > > >> -----Original Message----- > >> From: r-help-boun...@r-project.org [mailto:r-help-bounces@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@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. > > ______________________________________________ R-help@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.