Re: [R] Stopping the process after a certain time

About this list Date view Thread view Subject view Author view Attachment view

From: Andrew Robinson (andrewr@uidaho.edu)
Date: Tue 25 May 2004 - 02:04:39 EST


Message-id: <Pine.GSO.4.56.0405240858110.14554@cyclone.csrv.uidaho.edu>

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@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@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.

______________________________________________
R-help@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


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:12 EST