Re: [R] rJava: System.exit(1) in Java causes R crash

2010-08-18 Thread Simon Urbanek
On Aug 18, 2010, at 12:18 AM, Sigal Blay wrote: > I'm writing a package that successfully calls Java from R using rJava. > When R sends my Java function bad data (through .jcall()), > I get the error message details (when I run it on a console) > and then: > > Java requested System.exit(1), clo

[R] rJava: System.exit(1) in Java causes R crash

2010-08-17 Thread Sigal Blay
I'm writing a package that successfully calls Java from R using rJava. When R sends my Java function bad data (through .jcall()), I get the error message details (when I run it on a console) and then: Java requested System.exit(1), closing R. Is there a way to call .jcall so that when Java recei