Hello Reading this e-mail reminded me that I had the same problem on an old machine :-) Just removing .Rhistory did not make it, but removing the packages in the first lib on .libPaths() solved it!
So thanks for the post :-) Mat 2011/12/10 Michael Rutter <[email protected]> > > > On 12/10/2011 02:00 PM, Monica Sakuray Pais wrote: > >> Hi, >> >> I am running Ubuntu 10.10 and I have just installed R 2.14.0. >> >> When I try to install a package: install.packages("SPOT") >> it returns an error message: "Error in readRDS(file) : error reading from >> the connection". >> >> Also, when I try the command in R: update.packages(), it returns the same >> error message described previously. >> Any ideas? >> >> Regards, >> >> Monica >> > > Monica, > > Searches on rseek,.org and google seem to indicate this is an issue with > the directory in which you store you packages. I would try the following: > > 1. Delete your .Rhistory and .RData files in the directory in which you > are running R. > 2. Try to run an "update.packages()" > 3. If those fail, you may have to delete the directory in which you have > stored your downloaded packages. You would have to reload install them, > but it appears to be a solution. > > Here is a stack overflow reference: > > http://stackoverflow.com/**questions/6473831/readrdsfile-**in-r<http://stackoverflow.com/questions/6473831/readrdsfile-in-r> > > Michael > > -- > Dr. Michael A. Rutter > School of Science > Penn State Erie, The Behrend College > Station Road > Erie, PA 16563 > http://math.bd.psu.edu/**faculty/rutter<http://math.bd.psu.edu/faculty/rutter> > > > ______________________________**_________________ > R-SIG-Debian mailing list > [email protected] > https://stat.ethz.ch/mailman/**listinfo/r-sig-debian<https://stat.ethz.ch/mailman/listinfo/r-sig-debian> > [[alternative HTML version deleted]] _______________________________________________ R-SIG-Debian mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-debian

