[ADMB Users] glmmADMB errors in R on Mac
bbolker at gmail.com
Wed Nov 3 19:45:46 PDT 2010
This happens on my system too.
I have poked around a little bit more to make sure that the binary
actually got copied correctly, has the right permissions, etc. ...
However, running from the command line gives
## simplified method for copying mac versions -- identify
## mac versions with file.choose(), copy to system location
## from debugger:
#Browse> system("file nbmm")
#nbmm: Mach-O executable i386
#Browse> system("ls -l nbmm")
#-rwxr-xr-x 1 bolker staff 4141016 3 Nov 21:54 nbmm
#debug: if (!file.exists(std_file)) stop("The function maximizer failed")
#debug: stop("The function maximizer failed")
# "nbmm.dat" "nbmm.pin"
## file.show() on nbmm.dat and nbmm.pin suggests they
## look about as expected ...
R version 2.11.1 (2010-05-31)
attached base packages:
 stats graphics grDevices utils datasets methods base
other attached packages:
loaded via a namespace (and not attached):
On 10-11-03 04:36 PM, McCracken, Shawn F wrote:
> I have tried to install glmmADMB two ways on my Mac OS 10.6.4 and I keep
> getting an error when I go to run the examples.
>> fit =
> Error in glmm.admb(y ~ Base * trt + Age + Visit, random = ~Visit, group
> = "subject", :
> The function maximizer failed
> I first installed via the directions on the left of this page:
> The only thing I had to do differently was finding the location of the
> nbmm and bvprobit files. I found them here on my machine:
> /Library/Frameworks/R.framework/Versions/2.11/Resources/library/admb and
> replaced them with those from macversions.zip
> I also tried the install from: install.packages("glmmADMB",
> I have tried looking online for a solution with no luck. Could you
> please direct me on how to fix the problem?
> Thank you,
> Shawn McCracken
> Users mailing list
> Users at admb-project.org
More information about the Users