[R] is auto-save possible?
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Tue Nov 13 13:32:37 CET 2001
Luke Tierney <luke at nokomis.stat.umn.edu> writes:
> > In principle, tkcmd("after",...) from the tcltk package can schedule
> > timed events, but I'm a little unsure what happens if you put
> > save.image() inside of it... It might be worth a try, but don't do it
> > on valuable data! This should save once per minute (although not
> > during computations):
> On Windows I think you get it during computations too, for better or
> worse, given the way event handling works there.
Yes. Not during internal (e.g. .C) computation, though. I don't think
you'd get much of a problem from it, though. It should be the same as
calling save.image() inside a function, i.e. you might get to save a
bunch of current invocation environments which will be useless when
the workspace is reloaded.
(The Windows Tcl/Tk has another slight problem in that it allows
events to be handled between calls to .Tcl within the same function.
This breaks some constructs that work on Unix, but it can be worked
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