rcaller icon indicating copy to clipboard operation
rcaller copied to clipboard

Exception in thread "main" java.lang.ExceptionInInitializerError

Open bclarens opened this issue 7 years ago • 2 comments

I keep getting this error image everytime I run the Main.java example found on the repo. A help would be great. Thanks! Btw, I added the rcaller 3.1 snapshot jar in the libraries.

bclarens avatar Jan 10 '18 12:01 bclarens

You need to tell RCaller where your executables are. So add something like

String pathToRScript = "E:\\R\\R-3.5.1\\bin\\Rscript.exe";
String pathToR = "E:\\R\\R-3.5.1\\bin\\R.exe";
RCallerOptions options = RCallerOptions.create(pathToRScript, pathToR, FailurePolicy.RETRY_1, 3000l, 100l, RProcessStartUpOptions.create());
RCaller caller = RCaller.create(options);

tomgrille avatar Oct 19 '18 13:10 tomgrille

@bclarens @tomgrille is this issue solved?

jbytecode avatar Sep 11 '20 07:09 jbytecode