[R] Problem of lmer under FreeBSD

2007-12-27 Thread ronggui
I encounter such problem with lmer under FreeBSD, but not under Windows. Anyone knows why? Thanks. example(lmer) lmer (fm1 - lmer(Reaction ~ Days + (Days|Subject), sleepstudy)) Error in UseMethod(as.logical) : no applicable method for as.logical traceback() 9: as.logical(EMverbose) 8:

Re: [R] Problem of lmer under FreeBSD

2007-12-27 Thread Rainer Hurling
Hello Ronggui Huang, I am working with FreeBSD 8.0-CURRENT (i386) and R-2.6.1 (not built from ports). After loading version 0.99875-9 of lme4 and then executing the example library(lme4) example(lmer) all works fine for me. On 27.12.2007 09:19 (UTC+1), Ronggui wrote: I encounter such

Re: [R] Problem of lmer under FreeBSD

2007-12-27 Thread ronggui
Dear Rainer, Thanks for your suggestion. The problem lies in the Matrix package. I installed it under R-2.5.0. When I upgraded R to R-2.6.0, I didn't upgrade all the add-on packages. I reinstall Matrix and lme4 packages, things are going fine. Regards Ronggui HUANG 2007/12/27, Rainer Hurling

Re: [R] Problem of lmer under FreeBSD

2007-12-27 Thread Prof Brian Ripley
On Thu, 27 Dec 2007, ronggui wrote: I encounter such problem with lmer under FreeBSD, but not under Windows. Anyone knows why? Thanks. Most likely you have a mixed-up system, with some packages installed under an earlier version of R. Please use update.packages(checkBuilt=TRUE) to fix this.