[R] Problem with lme4

From: Peter Ho <peter_at_fe.up.pt>
Date: Fri 12 Aug 2005 - 21:29:51 EST


Hi,

I cannot seem to get lme4 to work. I have installed the lme4 and Matrix package with apt-get. and both can be found in /usr/lib/R/site-library. When I tried an example for lmer, R could not find the function lmer(),

> library(lme4)

Attaching package: 'lme4'

        The following object(s) are masked from package:nlme :

         getCovariateFormula getResponseFormula groupedData

Error in autoloader(name = "confint", package = "MASS") :

        autoloader did not find 'confint' in 'MASS'
> (fm1 <- lmer(decrease ~ treatment + (1|rowpos) + (1|colpos),
+ OrchardSprays))
Error: couldn't find function "lmer"
>

Is this a bug with the lme4 package for Debian (r-cran-lme4)?

Peter

#########################

R : Copyright 2005, The R Foundation for Statistical Computing Version 2.1.1 (2005-06-20), ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for a HTML browser interface to help. Type 'q()' to quit R.

Loading Tcl/Tk interface ... done

Loading required package: tcltk
Loading required package: rgl
Loading required package: zoo
Loading required package: strucchange
Loading required package: sandwich
Loading required package: relimp
Loading required package: nnet
Loading required package: graphics
Loading required package: grDevices
Loading required package: stats
Loading required package: nlme

Attaching package: 'nlme'

        The following object(s) are masked from package:stats :

         contr.SAS

Loading required package: mvtnorm
Loading required package: multcomp
Loading required package: mgcv

This is mgcv 1.2-4
Loading required package: MASS
Loading required package: lmtest
Loading required package: lattice
Loading required package: grid
Loading required package: foreign
Loading required package: effects
Loading required package: car
Loading required package: abind

[Previously saved workspace restored]

> library(Matrix)
> library(lme4)

Attaching package: 'lme4'

        The following object(s) are masked from package:nlme :

         getCovariateFormula getResponseFormula groupedData

Error in autoloader(name = "confint", package = "MASS") :

        autoloader did not find 'confint' in 'MASS'
> (fm1 <- lmer(decrease ~ treatment + (1|rowpos) + (1|colpos),
+ OrchardSprays))
Error: couldn't find function "lmer"
>



R-help@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 Received on Fri Aug 12 21:29:36 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:47 EST