Error in readRDS(pfile) : error reading from connection

Never seen this error before. I installed RStudio 1.1.463 - Ubuntu 16.04+/Debian 9+ (64-bit) on Ubuntu 18.04.2. Whenever I click the "Packages" tab, I get this message:

Error in readRDS(pfile) : error reading from connection

I try installing, say, magrittr, and it goes through the installation process but fails with a similar error message.

What output do you get from

.libPaths()

I get

[1] "/home/fjcc/R/x86_64-pc-linux-gnu-library/3.5" "/usr/local/lib/R/site-library"               
[3] "/usr/lib/R/site-library"                      "/usr/lib/R/library" 

I have seen the library paths get corrupted and then packages could not be found or installed.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.