2

I want to use R from Java to do some analysis. I have some heavy data objects in Java that I would like to expose to R for the analysis, but not sure how this is done best. I am experimenting with Rserve and I am just building up dataframes and matrices from java and then fire my analysis, but potentially data will not fit in memory (my java objects are under a caching scheme and data is usually loaded in a lazy manner when accessed). Any ideas / experiences / comments will be greatly appreciated :)

Jens Nielsen
  • 505
  • 1
  • 4
  • 5
  • 1
    This may help http://blog.datascienceretreat.com/post/69789735503/r-the-good-parts. Use data.table for managing larger objects. We personally had to switch to hadoop streaming with R for larger data collections. – Chris Hinshaw Dec 19 '13 at 22:56
  • I would recommend using `JRI`, if your interested in something specific, ill post it as an answer. – Yehoshaphat Schellekens Apr 24 '14 at 16:48

0 Answers0