Integration between R and Java

3

I'm working on a project and I have to integrate the language R with Java . Could you help me by indicating a good library or a Hello World code that does this integration?

    
asked by anonymous 12.07.2016 / 21:04

1 answer

1

As a response in the OS :

The user who answered the question was able to successfully integrate using two alternatives.

JRI :

  • Advantage : probably has better performance.
  • Disadvantage : You need to set up some different environment variables and libraries on Windows and Unix.

RServe :

  • Advantage : easy to set up, do not need to initialize the R and link no R library, it can run on different machines.
  • Disadvantage : Based on TCP / IP (a server needs to be running), it does not have R callbacks.

Another alternative that he never used: RCaller

    
12.07.2016 / 23:17