[Rd] backup signal

Thomas Lumley thomas@biostat.washington.edu
Fri, 3 Mar 2000 08:34:29 -0800 (PST)

On Tue, 29 Feb 2000, Manuel Castejon Limas wrote:

> Hi all Is there any signal that one can send in UNIX to R so that it
> stops its execution in a safe way, (like save.image()  and q() ) so
> that the enviroment is not erased, instead of kill -9 somePID

This has been implemented in the current development version, so that
SIGUSR1 quits and saves, SIGUSR2 quits and saves without running
on.exit() or .Last().

However, the signals may get repossessed for exception handling at some
point in the future, so it would be unwise to plan for this feature


Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch