[R] Stopping the process after a certain time
Andrew Robinson
andrewr at uidaho.edu
Mon May 24 18:04:39 CEST 2004
Thomas,
that's very interesting - thanks! That will be helpful.
Andrew
On Mon, 24 May 2004, Thomas Lumley wrote:
> On Mon, 24 May 2004, Andrew Robinson wrote:
>
> > Greetings R-community,
> >
> > I'm running simulations within R that I wrote in C. The simulations
> > require fitting that occasionally fails to finish. I was wondering if
> > there is any kind of tool for process control in R, such that after e.g.
> > 15 minutes I could kill the process, record the state for post-hoc
> > analysis, and move to the next simulation?
> >
> > I'm running FreeBSD and could almost surely do something in Perl but I'd
> > rather stay inside R if possible.
> >
>
> As one component of this, if you send an R process SIGUSR1 it will quit
> and save .RData (approximately the equivalent of CTRL-C, q("yes")).
>
>
> -thomas
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
Andrew Robinson Ph: 208 885 7115
Department of Forest Resources Fa: 208 885 6226
University of Idaho E : andrewr at uidaho.edu
PO Box 441133 W : http://www.uidaho.edu/~andrewr
Moscow ID 83843 Or: http://www.biometrics.uidaho.edu
No statement above necessarily represents my employer's opinion.
More information about the R-help
mailing list