Re: [Rd] JDataFrame API

2016-01-15 Thread Thomas Fuller
"def numbers = numberList.toArray()", "def result = [strings, numbers]", "return (Object[]) result", sep="\n") result <- Evaluate (groovyScript=groovyScript) temp <- lapply(result, .jevalArray) On Fri, Jan 15, 2016 at 1:58 PM, Simon Ur

Re: [Rd] JDataFrame API

2016-01-15 Thread Thomas Fuller
ually. Interestingly, the JSON encoding is using all 16 cores, so > the 2.7s real time add up to over 20s CPU time so on smaller machines you may > see more overhead. > > If you need process separation, it may be a different story - in principle it > is faster to use more native ser

[Rd] JDataFrame API

2016-01-14 Thread Thomas Fuller
Hi Folks, If you need to send data from Java to R you may consider using the JDataFrame API -- which is used to convert data into JSON which then can be converted into a data frame in R. Here's the project page: https://coherentlogic.com/middleware-development/jdataframe/ and here's a partial e