[R] Auto-save possible in R?
andy_liaw at merck.com
Mon Aug 14 16:15:04 CEST 2006
You could try something like:
replacing the time-stamp with save.image() or save(). Not sure how it works
in BATCH though...
From: John Morrow
> Hello fellow R'ers, I have a simple calculation with a very
> large data set being generated (34.9 million values) on a
> somewhat unreliable XP box that will likely take ~ 74hrs. I
> wanted to know if there is a way to have my script
> automatically "save.image()" throughout the calculation in
> case of a crash. This could be on the basis of output
> generated or time elapsed. I checked the archive, and only
> got a hint of it from:
> Any quick suggestions would be greatly appreciated,
> John Morrow
> [[alternative HTML version deleted]]
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help