What is the most memory efficient and easiest (yes, I know those are sometimes mutually exclusive) way to create an R data frame then save it to an .Rdata file using Java?
Go easy on me though, I'm not a Java developer.
What is the most memory efficient and easiest (yes, I know those are sometimes mutually exclusive) way to create an R data frame then save it to an .Rdata file using Java?
Go easy on me though, I'm not a Java developer.
It might be a bit of an overkill but rJava/JRI (http://rosuda.org/rJava/) give you a Java API to R. Essentially you get an R process that you can control programmatically from your Java code and obviously you can share data and create a .RData file through R calls.