简体   繁体   中英

How to load external r library from Rserve java client

我是R和Java的新手,我需要知道有什么方法可以从Rserve的javaclient加载R库

You can run any command with the client that you want to run in R. It is simply communicating over a socket with the server. The server has started an embedded R process that you can communicate with.

RConnection c = new RConnection();
c.eval("library(\"plyr\")")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM