Вопрос

I am new to both R and Java.I need to know is there any method to load R library from javaclient of Rserve for my project

Это было полезно?

Решение

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\")")
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top