[R] Fwd: REngine hangs when called within java code

2015-04-20 Thread aruni karunarathne
be that in the previous coding, one instance of rengine do not really end.hence it hangs when it comes to another instance. Many thanks. -- Forwarded message ------ From: aruni karunarathne Date: Wed, Apr 15, 2015 at 11:17 PM Subject: REngine hangs when called within java code To

[R] REngine hangs when called within java code

2015-04-15 Thread aruni karunarathne
Dear All, I'm creating a project which uses both java and R. I created the java class named MyClass and within that wrote two separate methods (graphing1() and fitness()) to call the r scripts. public void graphing1() throws IOException { String newargs1[] = {"--no-save"}; Rengine r1 =