Re: [R] Handling interrupts in long-running R functions

2021-09-15 Thread bretschr
Dear Ivan Krylov, Re: > On 10 Sep 2021, at 16:43, Ivan Krylov wrote: > > Hello everyone, > > I'm writing an R function that may be running for "long" periods of > time (think tens of minutes), and I would like to be able to tell it: > "please stop what you're doing and return the not-yet conv

[R] Handling interrupts in long-running R functions

2021-09-10 Thread Ivan Krylov
Hello everyone, I'm writing an R function that may be running for "long" periods of time (think tens of minutes), and I would like to be able to tell it: "please stop what you're doing and return the not-yet converged results as they are for inspection". The behaviour I'm striving for is 1) User