on-internet
← Community

Error in readRDS(file) : unknown input format

Stack Overflow ·

I am trying to install custom packages in my Rprofile.site file. I want to install packages in the site file because I have to install these packages on several users' computers. However, I am getting the following the error whenever I launch R. Error in readRDS(file) : unknown input format I have the following code added to the end of my Rprofile.site file. if(length(grep("customPackage", installed.packages()))==0) { install.packages("customPackage", repos=NULL, type="source") } The error keeps repeating itself as well until I stop the R session. If I remove that code from the site file and j

Comments

Sign in or sign up to comment and upvote.

No comments yet.