On 20 November 2009 at 14:25, mau...@alice.it wrote:
| In general, is it possible to run R scripts through cron jobs ?
| Is it possible to make  the script detect the system interrupt, save its 
current status and then exit so that next time it is rescheduled it can pick up 
from where it left ? 
| Examples, if any, are more then welcome.

You are conflating a few things here:

  i)    yes, you can run R from cron or task scheduler -- that is how R
        updates webpages on the R site, how CRANberries is updated etc pp
 
  ii)   to a program, it doesn't matter who started it, be it the task
        scheduler or interactive use (modulo correcly setup PATH et al
        variables

  iii)  R and its predecessor systems have stopped and resumed for decades,
        look at help(save.image) or help(save)

  iv)   Snapshotting running applications and resuming them elsewhere is
        an operating system task -- some OSs do this, but typically not
        in consumer grade versions.

Hope this helps, Dirk
    
-- 
Three out of two people have difficulties with fractions.

______________________________________________
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.

Reply via email to