Reputation: 1003
I am writing a Java application. I want to invoke R with that application. Now, I have found Rserve, but the proble is as follows: the program, once finished, should work on Linux as well as Windows AND the user does not necessarily have R on his computer, so everything necessary should end up in the Jar.
Is that even possible?
Upvotes: 0
Views: 74
Reputation: 57686
You have at least a couple of choices:
Bundle the standard R distribution with your program.
Bundle renjin with your program. This is an implementation of R using the JVM.
Both options are likely to bloat your package size by quite a bit, introduce installation and maintenance hassles, etc. It's probably better to just specify that R has to be installed to use your code.
Upvotes: 1