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. Thanks, Andrew 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.
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
Seemingly Similar Threads
- Looking for non-central F quantile
- List seems to drop empty levels of factors when containin g them
- Odd diagnostic plots in mixed-effects models
- Curious about nomenclature: random deviates
- par(new=T) works differently in pdf vs postscript if applied before a plot statement. (PR#4037)