[R] accident modified dataset. How can I recovery it?!
Adaikalavan Ramasamy
ramasamy at cancer.org.uk
Thu Nov 10 04:10:16 CET 2005
Please do not post thrice, especially within 23 min of the first post.
Your problem is that cuckoos is located in DAAG package not the lattice
package. I am guessing that at some point you loaded DAAG in the initial
session but did not realise this on subsequent sessions.
Next time, search http://finzi.psych.upenn.edu/nmz.html first.
Regards, Adai
On Wed, 2005-11-09 at 22:46 +0100, jia ding wrote:
> I tried to reinstall the package. but my R version is too old.
>
> dj at ubuntu:~$ sudo R CMD INSTALL -l /usr/lib/R/library
> /home/dj/Desktop/lattice_0.12-11.tar.gz
> Password:
> ERROR: This R is version 2.1.1
> package 'lattice' needs R >= 2.2.0
>
> So, *my question being, how do I upgrade from R version *R >= 2.2.0
> *> to R *2.1.1* and keep all of my libraries intact? *
>
>
> On 11/9/05, jia ding <dingjia at gmail.com> wrote:
> >
> > I first try these command, it works quite well.
> > library(lattice)
> > data(cuckoos)
> > levnam <- strsplit(levels(cuckoos$species), "\\.")
> >
> > BUT, i want to try :
> > levnam <- strsplit(levels(cuckoos$species), ".")
> >
> > to see the difference.
> >
> > They maybe I modified the data file, because when I try again, it says:
> > > data(cuckoos)
> > Warning message:
> > data set 'cuckoos' not found in: data(cuckoos)
> >
> > would you please tell me how to deal with this problem?
> >
> > I have already tried update.packages()
> > it doesn't help.
> >
> > Thanks.
> > DJ
> >
> >
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
More information about the R-help
mailing list