Re: [Rd] Issues converting from JSON to R

2009-06-12 Thread Simon Urbanek
On Jun 12, 2009, at 6:34 PM, Kynn Jones wrote: When converting from JSON to R it seems logical that a JSON array would correspond to an "unnamed" R list, while a JSON object would correspond to a "named" R list. E.g. JSON: [1, 3.1415927, "foo", false, null] => R: list(1, 3.1415927, "fo

[Rd] Issues converting from JSON to R

2009-06-12 Thread Kynn Jones
When converting from JSON to R it seems logical that a JSON array would correspond to an "unnamed" R list, while a JSON object would correspond to a "named" R list. E.g. JSON: [1, 3.1415927, "foo", false, null] => R: list(1, 3.1415927, "foo", FALSE, NA); and JSON { "int": 1, "float": 3.1415927