[R] Problem with lme4 use and installation
Charilaos Skiadas
cskiadas at gmail.com
Mon Mar 3 16:57:31 CET 2008
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
> http://r-forge.r-project.org/projects/lme4/. 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: http://www.nabble.com/Problem-with-
> lme4-use-and-installation-tp15806404p15806404.html
> Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list