How can I solve this problem? I tried to empty cache, reinstall R and Rscript.
connection = new RConnection();
String path = "source('" + rScript.getFile().getAbsolutePath() + "')";
connection.eval(path);
// error in this line org.rosuda.REngine.Rserve.RserveException: eval failed
In a source file, I have this code
functionName <- function(param1, param2, ..., paramN){
#some code here
}
If I remove functionName <- function(param1, param2, ..., paramN){ definition part - it works.
Also in R console log appeared this error message:
Error: long vectors not supported yet: qap_encode.c:36 Fatal error: unable to initialize the JIT