[Rd] Sighandlers

2012-11-18 Thread Ulrich Staudinger
Hello everyone, I am searching and searching and can't find an answer. I try to register a sighandler in my extension's C code. But my sighandler is never called. Is there anything preventing extensions to receive signals? I register like this: [.. some code that works ..] // register the

Re: [Rd] Sighandlers

2012-11-18 Thread Prof Brian Ripley
R has its own signal handlers, including for SIGINT. What is your 'extension'? If it is a program embedding R, the order of setting signal handlers will matter, and in any case R's handler if ever called it will reset the handler to itself. If it is a package, it should not be messing with