Re: [R] Problem with lme4 use and installation

From: Charilaos Skiadas <>
Date: Mon, 03 Mar 2008 10:57:31 -0500

Nothing's wrong. It just means that the package or one of its dependencies, has its own xtabs function, which "hides" the default xtabs function, since it comes first in the search path. So when you next write xtabs(...), it is this new xtabs that is being loaded. If you want to call the original xtabs, you can still do it I think with stats::xtabs(...).

This is a warning, not an error. It warns you that something you perhaps did not expect has just happened.

Haris Skiadas
Department of Mathematics and Computer Science Hanover College

On Mar 3, 2008, at 10:33 AM, Andreas Nord wrote:

> Dear all,
> I've been trying to install the lme4 package from
> However, when wanting
> to load
> the package, I get an message saying that "x-tabs" are masked (see
> pasted
> code). Can anyone point to what has gone wrong?
> Kind regards,
> Andreas Nord
> Sweden
>> utils:::menuInstallLocal()
> package 'lme4' successfully unpacked and MD5 sums checked
> updating HTML package descriptions
>> library(lme4)
> Loading required package: Matrix
> Loading required package: lattice
> Attaching package: 'Matrix'
> The following object(s) are masked from package:stats :
> xtabs
> --
> View this message in context:
> lme4-use-and-installation-tp15806404p15806404.html
> Sent from the R help mailing list archive at mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 03 Mar 2008 - 16:07:21 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 03 Mar 2008 - 19:30:25 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive