R-beta: auto save
Gregory R. Warnes
warnes at biostat.washington.edu
Fri May 30 17:34:26 CEST 1997
On Fri, 30 May 1997, Martin Maechler wrote:
> >>>>> "Rob" == Robert Gentleman <rgentlem at stat.auckland.ac.nz> writes:
>
> Let's call this number ASI ( = Auto_Save_Interval)
> The question is how the default value for ASI is to be determined.
>
> I think that ASI = Inf for 'BATCH' mode and when using source(.),
> but ASI < Inf even if the user does not have a ~/.Rprofile.
I would like to be able to have ASI!=Inf for 'BATCH' mode so that
intermediate simulation results are not lost...
>
> A regular q(ask) probably should remove .RAutoSave:
> [ if ask='yes', we have a new .RData anyway,
> and otherwise, we wanted to rm(.) things ]
> Then, upon startup, when there's an .RAutoSave newer than .RData,
> it must have been from a "crash" (non-regular termination of R),
> and the user would be asked if (s)he wanted to use .RAutoSave instead of
> .RData.
Also, .RAutoSave should not be deleted until .RData has been written out,
just in case of a crash during the process!
Greg
-------------------------------------------------------------------------------
Gregory R. Warnes | It is high time that the ideal of success
warnes at biostat.washington.edu | be replaced by the ideal of service.
| Albert Einstein
-------------------------------------------------------------------------------
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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