Re: [R] Schedule R function/Code to run at specific time

2015-02-27 Thread Rolf Turner
What ***on earth does the content of your message have to do with the subject line? Get your act together if you want to ask a question of this list!!! cheers, Rolf Turner On 27/02/15 08:40, macfire wrote: I have a problem with statistics, I think this forum is not the right option, bu

Re: [R] Schedule R function/Code to run at specific time

2015-02-26 Thread macfire
I have a problem with statistics, I think this forum is not the right option, but I'm running out resolution to my problem, so I thought I expose you here so someone could help me. Realized a certain amount of tests in different groups, this assessment had different weights, and the groups were for

Re: [R] Schedule R function/Code to run at specific time

2015-02-26 Thread peter dalgaard
> On 26 Feb 2015, at 20:20 , Duncan Murdoch wrote: > > On 26/02/2015 2:08 PM, Doran, Harold wrote: >> Is there functionality within R proper, without having to revert to the OS, >> allowing a function or a portion of an R script to be run at a defined time? >> My google searches haven't provid

Re: [R] Schedule R function/Code to run at specific time

2015-02-26 Thread MacQueen, Don
Everything Duncan said, plus: A construction like this might do the job run.at <- as.POSIXct('2015-02-26 13:05') while(TRUE) { if ( trunc(Sys.time(),'min') == run.at) source('whatever-it-is.r') Sys.sleep(60) } but I wouldn't count on it to be as reliable as cron (or Windows equivalent). --

Re: [R] Schedule R function/Code to run at specific time

2015-02-26 Thread Duncan Murdoch
On 26/02/2015 2:08 PM, Doran, Harold wrote: Is there functionality within R proper, without having to revert to the OS, allowing a function or a portion of an R script to be run at a defined time? My google searches haven't provided much other than one at the link below which relies on an OS.

[R] Schedule R function/Code to run at specific time

2015-02-26 Thread Doran, Harold
Is there functionality within R proper, without having to revert to the OS, allowing a function or a portion of an R script to be run at a defined time? My google searches haven't provided much other than one at the link below which relies on an OS. Thanks, Harold https://tgmstat.wordpress.com