Re: [Rd] JDataFrame API

2016-01-15 Thread Thomas Fuller
Hi Simon, Aha! I re-read your message and noticed this line: lapply(J("A")$direct(), .jevalArray) which I had overlooked earlier. I wrote an example that is very similar to yours and see what you mean now regarding how we can do this directly. Many thanks, T groovyScript <- paste ( "def s

Re: [Rd] JDataFrame API

2016-01-15 Thread Simon Urbanek
> On Jan 15, 2016, at 12:35 PM, Thomas Fuller > wrote: > > Hi Simon, > > Thanks for your feedback. -- this is an observation that I wasn't > considering when I wrote this mainly because I am, in fact, working > with rather small data sets. BTW: There is code there, it's under the > bitbucket l

Re: [Rd] JDataFrame API

2016-01-15 Thread Thomas Fuller
Hi Simon, Thanks for your feedback. -- this is an observation that I wasn't considering when I wrote this mainly because I am, in fact, working with rather small data sets. BTW: There is code there, it's under the bitbucket link -- here's the direct link if you'd still like to look at it: https:/

Re: [Rd] JDataFrame API

2016-01-15 Thread Simon Urbanek
Tom, this may be good for embedding small data sets, but for practical purposes is doesn't seem like the most efficient solution. Since you didn't provide any code, I built a test case using the build-in Java JSON API to build a medium-sized dataset (1e6 rows) and read it in just to get a ball