我的Eclipse java无法连接到R

时间:2013-06-13 17:37:09

标签: eclipse r

当我尝试时,我收到以下错误:

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)

1 个答案:

答案 0 :(得分:0)

尝试将模型使用的扩展名从“r”更改为“rserve”。

访问http://netlogo-users.18673.x6.nabble.com/Problem-with-rserve-extension-since-Java-update-td5002211.html