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. > > [EMAIL PROTECTED]:~$ 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 <[EMAIL PROTECTED]> 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]] > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
