It is not so much that rjson is implemented in R that makes it slow,
just that it does not use vectorized operations.
The package RJSONIO
http://www.omegahat.org/RJSONIO
can be used as a drop-in replacement for rjson and was written to be
faster (by using vectorized operations) and extensible via S4 methods.
(We use R to JSON in the SVGAnnotation, FlashMXML and RGraphicsDevice
packages.)
D.
Kynn Jones wrote:> Is there a *fast* converter between JSON and R? I'm aware of the rjson
> package, but it is implemented in R, and it is too slow for my purposes.
> TIA!
>
> kynn
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.