运行OCAPIS R软件包时出现问题-socketConnection

时间:2020-02-05 19:56:11

标签: r libsvm

我正在尝试在OS X 10.14中安装运行 OCAPIS R软件包进行顺序分类。

here中描述了安装步骤:

  • 正在检查“ python --version”,我已经安装了python 3.7.4;
  • 我使用“ brew install scala”安装了scala。我已经安装了scala 2.13.1;

也许这是我弄错了的地方: -我在“ / usr / local / lib”中安装了“ libsvm-weights-3.17”,然后在终端上转到“ libsvm-weights-3.17”文件夹并运行“ make”。然后我进入python子文件夹并进行了同样的操作。

  • 我从github存储库中的RStudio中安装了“ Ocapis”。它安装了“ RScala”作为依赖项。

完成此操作后,我可以在RStudio中加载“ OCAPIS”包。但是,当我尝试使用'svmofit()'函数时,出现以下错误消息:

  cannot open the connection
In addition: Warning message:
In socketConnection(host = "localhost", port = details[["socketInPort"]],  :
  localhost:65489 cannot be opened

有人可以帮忙吗?

0 个答案:

没有答案