Reading Large JSON file in R
<p>I want to read or convert to CSV file a large JSON file (2Gb) in R. I almost tried everything in this blog and others and i couldn't succeed till now.</p>

<p>The JSON file is related to Yelp Round 7 Challenge and you can download through the following link.
<a href="https://www.yelp.co.uk/dataset_challenge" rel="nofollow">https://www.yelp.co.uk/dataset_challenge</a></p>

<p>I used the normal rjson library and i got the following error:</p>

<pre><code>&gt; library(rjson)
&gt; df &lt;- fromJSON(file = "yelp_dataset_challenge_academic_dataset.json")
Error in fromJSON(file = "yelp_dataset_challenge_academic_dataset.json") : unexpected character 'D'`
</code></pre>