org.rosuda.REngine.Rserve.RserveException: eval failed, request status: error code: 127

127 means there is a parsing exception. Errors can be detected using code

c.assign(".tmp.", myCode);
    REXP r = c.parseAndEval("try(eval(parse(text=.tmp.)),silent=TRUE)");
    if (r.inherits("try-error")) System.err.println("Error: "+r.toString())
    else { // success .. }

The possible problems are:
1. There is a problem with the R program called, and it will be fine after the R program is changed.
2. Some people's jar package is loaded wrong, it is loaded in R.

I ran the code in the R editor and found the problem:
write picture description here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325523289&siteId=291194637