I tried RCaller 2.0 call the R functions from Java, and I managed to get it to work after several attempts. The integration was pretty simple, but RCaller is a bit slower at runtime. I am afraid that RCaller 2.0 not suitable for my application, since I have to repeatedly call the same script thousands of times, and the latency introduced by this library is not acceptable for my needs.
Is there a faster (in terms of runtime) option for calling R-scripts from Java?
source share