当我尝试时,我收到以下错误:
org.rosuda.REngine.Rserve.RserveException: Cannot connect: Connection refused: connect
at org.rosuda.REngine.Rserve.RConnection.<init>(RConnection.java:88)
at org.rosuda.REngine.Rserve.RConnection.<init>(RConnection.java:60)
at org.rosuda.REngine.Rserve.RConnection.<init>(RConnection.java:44)
at com.google.java.JCR.main(JCR.java:7)
答案 0 :(得分:0)
尝试将模型使用的扩展名从“r”更改为“rserve”。