[R] lme4 package and importIntoEnv errors

Deepayan Sarkar deepayan at stat.wisc.edu
Tue May 24 15:18:51 CEST 2005


On Monday 23 May 2005 09:48 pm, Patrick Connolly wrote:
> I've used packages for some years now and seldom had any trouble using
> the tgz files.  Now I've come across something I've never seen before.
>
> > version
>
>          _
> platform i686-pc-linux-gnu
> arch     i686
> os       linux-gnu
> system   i686, linux-gnu
> status
> major    2
> minor    1.0
> year     2005
> month    04
> day      18
> language R
>
> > library(lme4)
>
> Loading required package: methods
> Loading required package: Matrix
> Loading required package: latticeExtra
> Error in importIntoEnv(impenv, impnames, ns, impvars) :
>         objects ï¿½ï¿½coefï¿½ï¿½, ï¿½ï¿½coef<-ï¿½ï¿½, ï¿½ï¿½corMatrixï¿½ï¿½, ï¿½ï¿½matrix<-ï¿½ï¿½,
> ï¿½ï¿½pdFactorï¿½ï¿½, ï¿½ï¿½pdMatrixï¿½ï¿½ are not exported by 'namespace:Matrix' Error:
> package/namespace load failed for 'lme4'
>
> The Matrix and latticeExtra were downloaded and installed yesterday and
> the methods is what came with R-2.1.0.

lme4 is extremely sensitive to the version of Matrix. It's not clear from your 
mail whether you have updated your lme4 after updating Matrix, but if you 
haven't, that is almost certainly the problem.

Deepayan

> [...]




More information about the R-help mailing list