Integration between R and Java

Asked

Viewed 549 times

3

I’m working on a project and I have to integrate the language R with Java.
You could help me by indicating a good library or a code (Hello World) make this integration?

  • Managed to integrate?

1 answer

1


According to a response in the OS:

The user who answered the question has already managed to successfully integrate using two alternatives.

JRI:

  • Upside: probably has better performance.
  • Downside: you need to configure some different environment variables and libraries on Windows and Unix.

Rserve:

  • Upside: easy to set up, no need to initialize R or link no R library, can be run on different machines.
  • Downside: TCP/IP based (a server needs to be running), no R callbacks.

Alternative that he never used: Rcaller

Browser other questions tagged

You are not signed in. Login or sign up in order to post.