title: Error: Unable to establish connection with R session
body: <p>I am having trouble pulling down data sets from the web (<a href="https://api.fda.gov" rel="nofollow">https://api.fda.gov</a>) FDA API. The connection is fine and it appears generate more than 4000 JSON records. The problem is, when it is done, R gives me the below error and I am no longer able to do anything in RStudio - I basically have to force quit. I've seen references to similar issues, but haven't been able to find a solution.</p>
  
  <blockquote>
    <p>Error: Unable to establish connection with R session</p>
  </blockquote>