[R] Java requested System.exit(130)

Ed Siefker ebs15242 at gmail.com
Tue Oct 1 22:35:18 CEST 2013


I'm used to using ctrl-c to end operations without killing R.  But I've used
xlsx in this session, which loads Java, which apparently intercepts the
ctrl-C.  Accordingly, I hit ctrl-C, R died, and I lost a lot of work.

I did some looking, and found a
thread(http://comments.gmane.org/gmane.comp.lang.r.rosuda.devel/1368)
that says:

"Yes, at least on Sun JVMs you need to add -Xrs java option so the JVM
doesn't steal SIGINT from R (see archives)."

So, how do I actually do that? I'm not running java from the command line,
I'm using "library(xlsx)".  How do I tell R to pass that option to the JVM?
Thanks
-Ed



More information about the R-help mailing list