Whenever I try to install any package in R on Ubuntu 14.04, I'm getting the following error:
Error in readRDS(file) : error reading from connection
I already tried the methods given here but could not solve the problem.
I was facing the same error and I restarted R session, it worked for me.