Hi,
I am new to glmmADMB and I am experiencing problems running the model using the R interface. As follows:
> data(epil2)
> glmm.admb(y~Base*trt+Age+Visit,random=~Visit,group="subject",data=epil2,family="nbinom")
'C:/Users/Tanya' is not recognized as an internal or external command,
operable program or batch file.
Error in glmm.admb(y ~ Base * trt + Age + Visit, random = ~Visit, group = "subject", :
The function maximizer failed
In addition: Warning messages:
1: In dir.create(dirname) : '_glmm_ADMB_temp_dir_' already exists
2: In file.remove(std_file) :
cannot remove file 'nbmm.std', reason 'No such file or directory'
3: In shell(paste(.path.package("glmmADMB"), "/admb/", file_name, ".exe", :
'C:/Users/Tanya Russell/Documents/R/win-library/2.9/glmmADMB/admb/nbmm.exe -maxfn 500 ' execution failed with error code 1
My feeling is that the error originates from the space in the directory name. Could you please assist me to deal with this issue.
Kind regards, Tanya.
Dr Tanya Russell | Senior Research Fellow | PacMISC | Australian Centre for International and Tropical Health
School of Population Health | The University of Queensland | Public Health Building | Herston Rd | Herston Qld 4006 | Australia
Mob: +61434 286 890 | Email: t.rus...@uq.edu.au
I am sorry, but I do not have other advice to offer than:
- Try another version of R (version 2.5 say)
If this does not work:
- Try another machine.
Hope this helps you.
Hans
> _______________________________________________
> Users mailing list
> Us...@admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
Us...@admb-project.org
http://lists.admb-project.org/mailman/listinfo/users
load the glmmadmb package.
sink("modglmmadm.r")
glmm.admb
sink()
then edit the file modglmmadmb.r to put quotes around the string
(or however one deals with spaces in paths in windows).
at the beginning of the file put in
glmm.admb=
then in R type
source("modglmmadmb.r")
and you should have the new modified function which can deal with spaces
in path names. Anyway that is a rough idea.
install.packages("glmmADMB", repos="http://R-Forge.R-project.org")
It may require R 2.11, and my guess is that the space-in-path issue is
probably still there. We will slide that to the top priorities.
Dave's hacker approach may well do the trick for you. We're currently
experimenting with which directories glmmADMB should use and how.
Arni