Displaying 2 results from an estimated 2 matches for "rautosave".
Did you mean:
autosave
1997 May 30
1
R-beta: auto save
...should be an option so that it
is setable (in the profile if you want). One simply specifies the
number of commands that are executed between calls to save.
It won't be incremental; I'll just dump the output of ls().
I think that the file name should not be .RData but rather something
like .RAutoSave (so it's there if you need it but you don't get it
on startup unless you ask for it).
Comments????
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help&qu...
1999 Sep 12
0
Just a thought ...
...nteractive mode)?
Something like (a crude version - perhaps better to use system facilities
like cron under *ix):
options(autosave=10)#Autosaves every 10 minutes or later
then in the code where *when awaiting input only*
while (noinput){
if(current.time()>=save.time){
save.image('.Rautosave')
save.time<-current.time()
}
}
The >= would be necessary because R might be doing something at save.time
and by having the autosave check done only when doing nothing else would
save valuable clock cycles and possible confusion on restoring. You
wouldn't want to tie up the pr...