Those are good points, Duncan. I am experimenting with a nice checkpointing
tool called DMTCP. It operates on the system level but is quite OS-dependent.
It can be found at http://dmtcp.sourceforge.net/index.html.
Still, it would be nice to be able to checkpoint calls within R to potentially
long-running processes like optim().
-Andy
On 12/13/21 11:51 AM, Duncan Murdoch wrote:
On 13/12/2021 12:58 p.m., Greg Minshall wrote:
Jeff,
This sounds like an OS feature, not an R feature... certainly not a
portable R feature.
i'm not arguing for it, but this seems to me like something that could
be a language feature.
R functions can call libraries written in other languages, and can start
processes, etc. R doesn't know everything going on in every function call, and
would have a lot of trouble saving it.
If you added some limitations, e.g. a process that periodically has its entire
state stored in R variables, then it would be a lot easier.
Duncan Murdoch
--
Andy Jacobson
a...@yovo.org
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.