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, <r-sig-debian-request@r-project.org> wrote:

> Send R-SIG-Debian mailing list submissions to
>        r-sig-debian@r-project.org
>
> 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
>        r-sig-debian-request@r-project.org
>
> You can reach the person managing the list at
>        r-sig-debian-owner@r-project.org
>
> 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 <monicaspais@gmail.com>
> To: r-sig-debian@r-project.org
> Subject: [R-sig-Debian] install.packages readRDS error
> Message-ID:
>        <CABj2TZFFFyBXCETANiksfHpH67JQeUay_uYRgLFriaLDvje5Cw@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 <mar36@psu.edu>
> To: r-sig-debian@r-project.org
> Subject: Re: [R-sig-Debian] install.packages readRDS error
> Message-ID: <4EE3BB6A.10904@psu.edu>
> 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
> R-SIG-Debian@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian
>
>
> End of R-SIG-Debian Digest, Vol 76, Issue 5
> *******************************************
>

	[[alternative HTML version deleted]]

