Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 R 和 Java 的新手。我需要知道是否有任何方法可以从 Rserve 的 javaclient 为我的项目加载 R 库
您可以使用要在 R 中运行的客户端运行任何命令。它只是通过套接字与服务器进行通信。服务器已启动您可以与之通信的嵌入式 R 进程。
RConnection c = new RConnection(); c.eval("library(\"plyr\")")