title: Installing R Packages Error in readRDS(file) : error reading from connection
body: <p>Whenever I try to install any package in R on Ubuntu 14.04, I'm getting the following error:</p>
  
  <pre><code>Error in readRDS(file) : error reading from connection
  </code></pre>
  
  <p>I already tried the methods given <a href="https://stackoverflow.com/a/17448816/707145">here</a> but could not solve the problem.</p>