运行 Java/Scala 来自 R 的代码

Running Java/Scala code from R

我想 运行 一些 Java 或 R 中的 Scala 代码(更具体地说,我想 运行 H2O 在 R 中构建的 POJO本身)。有没有办法做到这一点?到目前为止,我只是找到了相反情况的解决方案,即从 Java..

执行 R 程序

你应该试试rJava. This will allow you to call Java class from your R program in a more native fashion. A basic HelloWorld tutorial is here