Closed pranasblk closed 6 years ago
Hi! the API for embedding from Java has gotten a major overhaul very recently, a documentation draft is available at https://www.dropbox.com/s/aqy69srqki4g7hw/Embed%20Languages%20with%20the%20Graal%20Polyglot%20SDK.pdf?dl=0 I hope this helps - the examples are written for JavaScript, but they are equally applicable to R.
Just let me know if something's unclear!
maybe renjin is another option?
There is also a demo: https://github.com/graalvm/examples/tree/master/fastr_javaui
Documentation is now available at http://www.graalvm.org/docs/reference-manual/languages/r/
I'd like to embed R code to my java project. Do you have some tutorial, pointers to existing code of enbeded R in Java, user guide, demo project or other documentation how to use R code (not standalone) from the system running core in written in Java.
Thanks!