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
______________________________________________
[EMAIL PROTECTED] 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