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 <
Error in readRDS(file) : error reading from connection
I was facing the same error when i installed most recent version of R. many a times most recent version is not stable( for me, it was 3.4.2 on 08/11/2017). I uninstalled it and installed 3.4.1( earlier stable version), now there is no issue.