Skip to content

predictions to newdata by LMM through lmer (Ben Bolker)

2 messages · Tetsuya Michinaka, Ben Bolker

#
Dear Ben Bolker,

I registered inR-Forge, but I still do not know where to download the development version of the package lme4.
When I tried "install.packages("lme4", repos=c("http://lme4.r-forge.r-project.org/repos", getOptions("repos")["CRAN"]))",
the following message is shown:

Installing package into ?C:/Users/.../3.0?
(as ?lib? is unspecified)
Error in install.packages("lme4", repos = c("http://lme4.r-forge.r-project.org/repos",  :
   could not find function "getOptions"

When I installed "install_github("lme4",user="lme4")", I also failed.
Could you please give me some detailed advice?
Thanks again.

Tetsuya
(2013/08/14 19:00), r-sig-mixed-models-request at r-project.org wrote:
#
Tetsuya Michinaka <zhangyf at ...> writes:
You don't need to register.
repos=c("http://lme4.r-forge.r-project.org/repos",
  getOptions("repos")["CRAN"]))",

There was a typo in the README file, fixed now.
This should be getOption("repos")["CRAN"], not getOptions(...)
In order to use install_github you need to install the devtools
package *and* all of the developer tools (compilers etc.).