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?

StackUser
  • 587
  • 6
  • 26

1 Answers1

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.

Ennar.ch
  • 659
  • 1
  • 8
  • 26