0

I'd like to ask whether it is possible and whether it is simple to integrate R code into java.

I already have a java webservice. It exposes some REST api that call a java algorithm. However, the java algorithm is slower than R one. So, I'd like to substitute it with R algorithm, or build a new webservice from scratch using R. Is it possible to integrate the R code within java? What's the best way? Would you suggest me to use RServe?

3

1 Answer 1

0

I think it would be a good idea if you use Rserve. Rserve would allow you to get your R code variables and use them in your Java code.

Not the answer you're looking for? Browse other questions tagged or ask your own question.