title: How to read data from a JSON object(in a file) into R?
body: <p>I am new to R and do not have much exposure to programming. I am having a problem loading a file(contains JSON object) into R.</p>
  
  <pre><code>&gt; library(rjson)
  &gt; jsonFile &lt;- "C:\\Users\\jsonRecords.txt"
  &gt; jsonData &lt;- fromJSON( jsonFile, method = "C", unexpected.escape = "error" )
  Error in fromJSON(jsonFile, method = "C", unexpected.escape = "error") : 
    unexpected character 'C'
  </code></pre>
  
  <p>I wanted the data to be read into R for further analysis.. Any help will be appreciated.</p>
  
  <p>Thanks</p>