[R] checkpointing
Andy Jacobson
@ndy @end|ng |rom yovo@org
Mon Dec 13 20:07:20 CET 2021
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
andy using yovo.org
More information about the R-help
mailing list