[R] Corrupt .RData

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Mon Dec 10 17:23:02 CET 2001


"Liaw, Andy" <andy_liaw at merck.com> writes:

> None, AFAIK.  Seems like you could also use the "auto-save" feature that I
> asked about a while ago.  According to Duncan Temple Lang (Thanks a lot,
> Duncan!), he's adding some new features in the development version of R that
> will let one do something like running an R command automatically after
> every fixed number of top level commands (so you can do a save.image(), say
> every 20 commands, for example.
> 
> One other preventitive meaure (other than back up often) could be, e.g.,
> saving "valuable" objects (large data, or objects that takes a long time to
> reproduce) that will only be referenced rather than modified in separate
> files that can be load() or attach().

R 1.4.0 will also have a safe-save feature (first write the workspace
to a temporary file, then destructively move it over the original.)

However, if anyone is looking for a project to do in their copious
free time, a .Rdata debug/fix utility would be very welcome...

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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