[Rd] CTRL-C during .Call causes R to quit to command line

Saptarshi Guha saptarshi.guha at gmail.com
Mon Mar 30 05:23:58 CEST 2009


Hello,
During a .Call e.g
while(TRUE){
    value <-rhsqnextKVR(rdr)  ## has .Call in this function
    if(is.null(value)) break;
  }
if I press CTRL-C, R exits straight to the command line.

Q: How can I prevent this? I should point out that my library uses
JNI, so I'm not sure if that is causing it.
I'm using R-2.8 on Linux (RHEL 5)
Thank you in advance
Regards
Saptarshi



More information about the R-devel mailing list