Dear all, Can anyone help me, my R software can not run a nested linear regression by using the lme funcion. The message that appears is Error: could not find function "lme" I already downloaded and loaded the package, please see below. Thank you in advance for any help! Nadia.
> data<-read.csv("/Users/nadiasan1/Desktop/MOE and MOR.csv")> attach(data)> > names(data)[1] "Species" "LME" Â Â "LMR" Â Â "WD" Â Â Â > > install.packages("lme4")trying URL > 'http://cran.csiro.au/bin/macosx/leopard/contrib/2.14/lme4_0.999375-42.tgz'Content > type 'application/x-gzip' length 1453067 bytes (1.4 Mb)opened > URL==================================================downloaded 1.4 Mb The downloaded packages are in /var/folders/yx/l4kkhz8j24179y5vq0hp9md00000gp/T//Rtmpqsa0o1/downloaded_packagesalso installing the dependencies âmlmRevâ, âMEMSSâ, âsfsmiscâ, âMatrixModelsâ trying URL 'http://cran.csiro.au/bin/macosx/leopard/contrib/2.14/mlmRev_1.0-1.tgz'Content type 'application/x-gzip' length 1832388 bytes (1.7 Mb)opened URL==================================================downloaded 1.7 Mb trying URL 'http://cran.csiro.au/bin/macosx/leopard/contrib/2.14/MEMSS_0.9-0.tgz'Content type 'application/x-gzip' length 236762 bytes (231 Kb)opened URL==================================================downloaded 231 Kb trying URL 'http://cran.csiro.au/bin/macosx/leopard/contrib/2.14/sfsmisc_1.0-19.tgz'Content type 'application/x-gzip' length 386160 bytes (377 Kb)opened URL==================================================downloaded 377 Kb trying URL 'http://cran.csiro.au/bin/macosx/leopard/contrib/2.14/MatrixModels_0.3-1.tgz'Content type 'application/x-gzip' length 204787 bytes (199 Kb)opened URL==================================================downloaded 199 Kb trying URL 'http://cran.csiro.au/bin/macosx/leopard/contrib/2.14/lme4_0.999375-42.tgz'Content type 'application/x-gzip' length 1453067 bytes (1.4 Mb)opened URL==================================================downloaded 1.4 Mb The downloaded packages are in /var/folders/yx/l4kkhz8j24179y5vq0hp9md00000gp/T//Rtmpqsa0o1/downloaded_packagesLoading required package: MatrixLoading required package: lattice Attaching package: âMatrixâ The following object(s) are masked from âpackage:baseâ: Â Â det Attaching package: âlme4â The following object(s) are masked from âpackage:statsâ: Â Â AIC, BIC starting httpd help server ... done> model1<-lme(LME~WD, random=~1|Species, ML)Error: could not find function "lme" [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.