Our “arm” package in R requires Doug Bates’s “lme4” which fits multilevel models.
lme4 is currently having some problems on the Mac. But installation on the Mac can be done; it just takes a bit of work.
I have two sets of instructions below.
If you have MAC OS DVD, you should install developer X code packages from it. Otherwise, install them from here.
After this, do the following in R:
install.packages(“lme4”, type = “source”)
Then you will have lme4 in R and you can install arm without a problem.
And, from David Ozonoff:
I installed the lme4 package via the Package Installer but this didn’t work, of course. I then installed, via this link, gfortran which seemed to put the libraries in the right place (I had earlier installed via Fink the gcc42 compiler, so I’m not sure if this is required or not).
I then ran, in R, this:
This does not appear to work since it will say lme4 is not available, but since I already installed it and it was just looking for the fortran link in the right place, everything worked, as did arm.
To give credit where credit is due, I found the solution here.