ADMB use on the Mac

questions concerning analysis/theory using the R package 'marked'

ADMB use on the Mac

Postby jlaake » Thu Dec 10, 2015 1:12 pm

Sebastiano De Bona sent me the following on how he got ADMB with marked to work on the Mac. It is similar to what needs to be done with Windows but the syntax is slightly different. Below is his message to me. Obviously the directories you use may be specific to your machine.

Sure. I specified the PATH at the very beginning of the code, before loading any package (I didn’t add it to .RProfile, so it is not permanent).
I added the path to the “bin" and “utilities" folders, and I specified a path to the main ADMB folder in ADMB_HOME

Sys.setenv(PATH = paste(Sys.getenv("PATH”),
"/Applications/ADMBTerminal.app/admb/bin:
/Applications/ADMBTerminal.app/admb/utilities”,
sep=":"))
Sys.setenv(ADMB_HOME="/Applications/ADMBTerminal.app/admb")

As opposed to Windows, Mac wants the path separated by column (:)
jlaake
 
Posts: 1413
Joined: Fri May 12, 2006 12:50 pm
Location: Escondido, CA

Return to analysis help

Who is online

Users browsing this forum: No registered users and 1 guest

cron