[ADMB Users] error message for glmm.admb

Ben Bolker bbolker at gmail.com
Tue Dec 14 15:01:52 PST 2010


  I think this was my fault.
  I don't have a working Windows installation at the moment: would you
be willing to re-install and test sometime tomorrow, when the package
should have been re-built?

  Alternatively, try source()ing the attached file and see if that fixes
the problem?

  thanks
    Ben Bolker


On 10-12-11 06:18 PM, Tom Snijders wrote:
> Hi,
> 
>  
> 
> I got an error message when using gllmADMB under R 2.12.0. I solved it
> myself, but you might want to know about it.
> 
>  
> 
> Using R 2.12.0, I had just installed /glmmADMB/ version 0.4-2 from R-Forge.
> 
> When running the function
> 
>  
> 
> (fm <- glmm.admb(y~Base*trt+Age+Visit, random=~Visit, group="subject",
> 
>                   data=epil2, family="nbinom"))
> 
>  
> 
> I got the error message
> 
>  
> 
> “'.exe' is not recognized as an internal or external command”
> 
> etcetera.
> 
>  
> 
> Inspired by the answer given by Dave Fournier (aug 30, 2010) that I found on
> 
> http://groups.google.com/group/admb-users/browse_thread/thread/3290046d9a63be70
> 
> I did a bit of hacking on glmm.admb.
> 
> It turns out that the command
> 
> cmd <- paste("\"", system.file("bin", "windows", file_name,
> 
>             package = "glmmADMB"), ".exe", "\"", " ", cmdoptions,
> 
>             sep = "")
> 
> is not working properly on my installation.
> 
> When I change it to
> 
>  
> 
> cmd <- paste("C:/R/R-2.12.0/library/glmmADMB/bin/windows/nbmm.exe \
> ",cmdoptions,sep="")
> 
>  
> 
> (which is the file path and name on my installation), all works fine.
> 
> So it seems that the system.file()  function does not work as you expect
> it to.
> 
> I know too little of R to easily see what is going wrong there.
> 
>  
> 
> Good luck, cheers to you,
> 
>  
> 
> Tom Snijders
> 
>  
> 
> ================================================================
> 
> Tom A.B. Snijders
> 
> Professor of Statistics in the Social Sciences
> 
> Department of Politics and Department of Statistics
> 
> Nuffield College
> 
> University of Oxford
> 
> tel. +44-01865-278599
> 
>  
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: glmm.admb.R
URL: <http://lists.admb-project.org/pipermail/users/attachments/20101214/d44c96d1/attachment.ksh>


More information about the Users mailing list