From saptarshi.guha at gmail.com  Mon Mar 30 05:23:58 2009
From: saptarshi.guha at gmail.com (Saptarshi Guha)
Date: Sun, 29 Mar 2009 23:23:58 -0400
Subject: [Rd] CTRL-C during .Call causes R to quit to command line
Message-ID: <1e7471d50903292023y415529bcmdc0467139df17da@mail.gmail.com>

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



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