[R] signal handling

Paul Roebuck roebuck at odin.mdacc.tmc.edu
Sat Aug 13 08:19:52 CEST 2005


On Fri, 12 Aug 2005, Paul Gilbert wrote:

> Omar Lakkis wrote:
>
> > Is ther 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.
>
> I'm not sure about perl's signals, but Unix signals can be
> passed with
>      q("yes/no", status=whatever)
> See ?q.  This is pretty useful for passing signal to make,
> for example.

That's a return code though, not a signal.

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




More information about the R-help mailing list