Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.OSF.4.58.0508111643050.218401@odin.mdacc.tmc.edu>
Date: 2005-08-11T22:04:15Z
From: Paul Roebuck
Subject: signal handling
In-Reply-To: <3f87cc6d050811142082b87d6@mail.gmail.com>

On Thu, 11 Aug 2005, Omar Lakkis wrote:

> Is ther[sic] a signal handling model in R? similar to
> Perl's %SIG hash. I want to do fast clean up in my R
> code before exit when a kill signal is issued.

You may find on.exit() somewhat useful for cleanup
but signals are not propogated to your code by the
R environment.

?Signals (on Unix-based platforms) mentions that SIGUSR2
will bypass the above; no idea about Windows.

----------------------------------------------------------
SIGSIG -- signature too long (core dumped)