[R] is auto-save possible?

Liaw, Andy andy_liaw at merck.com
Mon Nov 12 21:52:45 CET 2001


Dear R-help,

This is just a wishlist item:  Is it possible at all to make R (optionally)
automagically do save.image() periodically (e.g., every fixed number of
commands or >= fixed amount of time)?  

The reason I asked is that I frequently run R-1.3.1 inside XEmacs 21.4.5/ESS
5.1.19 under WinNT, and had seen Rterm.exe crashed a few times for no
apparent reason (and not reproducible).  When that happens, I lost all the
objects created in that R session and had to re-run the script (which could
be time consuming).  At one time R crashed right in the middle of quitting,
which corrupted the .Rdata file.  Luckily I had a backup that was fairly
recent that I didn't loose everything.  (Admittedly, auto-save wouldn't help
this last problem though.)

Cheers,
Andy


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list