After installation of lme4, you need to load it before use it. >library(lme4) >?lmer
2009/7/29 Angela Radulescu <angela.radule...@gmail.com>: > > Hi all, > > I have a problem with package installing in Windows, on my PC machine. The > end goal is to be able to use the lme() function. Here's what I did so far: > >> install.packages("lme4") > Warning in install.packages("lme4") : > argument 'lib' is missing: using > 'C:\Users\Angela\Documents/R/win-library/2.9' > --- Please select a CRAN mirror for use in this session --- > trying URL > 'http://cran.cnr.Berkeley.edu/bin/windows/contrib/2.9/lme4_0.999375-31.zip' > Content type 'application/zip' length 1140865 bytes (1.1 Mb) > opened URL > downloaded 1.1 Mb > > package 'lme4' successfully unpacked and MD5 sums checked > > The downloaded packages are in > C:\Users\Angela\AppData\Local\Temp\Rtmp1t8vjT\downloaded_packages > updating HTML package descriptions > Warning message: > In file.create(f.tg) : > cannot create file 'C:\PROGRA~1\R\R-29~1.1/doc/html/packages.html', reason > 'Permission denied' > > I had to change permissions on some of the "library" folder before this. > Still, after installation, R cannot find the "lme" function of interest. > >> lme > Error: object 'lme' not found > > Does anyone know why this is happening, and what the solution to the problem > is? > > Many thanks, > Angela > -- > View this message in context: > http://www.nabble.com/Installing-lme4-package-in-Windows-Vista-tp24709932p24709932.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. > -- HUANG Ronggui, Wincent PhD Candidate Dept of Public and Social Administration City University of Hong Kong Home page: http://asrr.r-forge.r-project.org/rghuang.html ______________________________________________ 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.