title: Reading JSON arrays from R
body: <p>Then I read <a href="http://www.json.org/" rel="nofollow noreferrer">JSON</a> files from R using <a href="http://cran.r-project.org/web/packages/rjson/index.html" rel="nofollow noreferrer">rjson</a> it seems that JSON arrays (enclosed with <code>[]</code>) are converted to (unnamed) R lists, not vectors.</p>
  
  <p>Therefore I have to first <code>unlist(recuresice=F)</code> each of those lists before I can work with them. </p>
  
  <ol>
  <li>Is there any logic behind this
  conversion I am missing? I mean, why
  use a list (and not a vector) to
  store an array?</li>
  <li>Is there any way to
  control this behavior of rjson (or
  perhaps another recommended JSON
  parser for R)?</li>
  </ol>