В Sun, 15 Feb 2026 13:08:32 +0100
Matthias Gondan <[email protected]> пишет:

> I understand that SIGUSR1 and 2 terminate an R session, and I cannot
> handle them in a package, or can I?

Quite a few packages on CRAN use sigaction() to temporarily set up a
different handler for a signal (SIGINT, SIGALRM, SIGCHLD, sometimes
even SIGSEGV), retain the original handler (presumably set up by R),
then restore it when done.

How are you planning to use the signals?

-- 
Best regards,
Ivan

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to