Dear Michael, Thank you for your help. I could not find the .Rhistory and .Rdata files... So, I went to the third option: to delete the directory in which I had stored my downloaded packages. Then I reloaded the packages and it is working all right!
All the best, Monica On Sun, Dec 11, 2011 at 9:00 AM, <[email protected]> wrote: > Send R-SIG-Debian mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://stat.ethz.ch/mailman/listinfo/r-sig-debian > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of R-SIG-Debian digest..." > > > Today's Topics: > > 1. install.packages readRDS error (Monica Sakuray Pais) > 2. Re: install.packages readRDS error (Michael Rutter) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 10 Dec 2011 17:00:24 -0200 > From: Monica Sakuray Pais <[email protected]> > To: [email protected] > Subject: [R-sig-Debian] install.packages readRDS error > Message-ID: > <cabj2tzfffybxcetaniksfhph67jqeuay_uyrglfrialdvje...@mail.gmail.com > > > Content-Type: text/plain > > 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 > > [[alternative HTML version deleted]] > > > > ------------------------------ > > Message: 2 > Date: Sat, 10 Dec 2011 15:04:58 -0500 > From: Michael Rutter <[email protected]> > To: [email protected] > Subject: Re: [R-sig-Debian] install.packages readRDS error > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > > 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 > > 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 > > > > ------------------------------ > > _______________________________________________ > R-SIG-Debian mailing list > [email protected] > https://stat.ethz.ch/mailman/listinfo/r-sig-debian > > > End of R-SIG-Debian Digest, Vol 76, Issue 5 > ******************************************* > [[alternative HTML version deleted]] _______________________________________________ R-SIG-Debian mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-debian

