Hi,

I'm running the latest glmmadmb on Windows 7 and got the latest R version
installed (3.0). I might be missing something here - now I'm getting this
error message:

> model=glmmadmb(present ~ trt + I(week > 2), random = ~ 1 | ID, family =
"binomial", data = bacteria, save.dir="tmp")
Error in setwd(save.dir) : cannot change working directory

Could this have something to do where I save the packages on my computer?

Thanks,

Julia



2013/5/20 dave fournier <davef@otter-rsch.com>

> Hi,
>
> It just works for me.
>
> I did
>
> data(bacteria,package="MASS")
>
> bacteria$present <- as.numeric(bacteria$y)-1
>
> library("glmmADMB")
>
> model=glmmadmb(present ~ trt + I(week > 2), random = ~ 1 | ID,
>           family = "binomial", data = bacteria,
>         save.dir="tmp")
>
> and got
>
>
> GLMM's in R powered by AD Model Builder:
>
>   Family: binom
>   link = logit
>
> Fixed effects:
>   Log-likelihood: -96.1307
>   AIC: 202.2614
>   Formula: present ~ trt + I(week > 2)
>     (Intercept)         trtdrug        trtdrug+ I(week > 2)TRUE
>       3.5480924      -1.3667158      -0.7827233      -1.5985356
>
> Random effects:
> Structure: Diagonal matrix
> Group=ID
>             Variance StdDev
> (Intercept)    1.554  1.246
>
> Number of observations: total=220, ID=50
>
> I'm using the (probably) latest version og glmmadmb on 64 bit Linux.
>
>
>         Dave
>

	[[alternative HTML version deleted]]

