Hi R-sig-mac,

I’m trying to use R2admb in R.app (extension usually hidden). I’ve narrowed down the problem to the fact that the command 
system("admb") returns an error.
> system("admb")
/bin/sh: admb: command not found

 Other system commands seem to work
> system("texi2dvi")
/usr/bin/texi2dvi: Missing file arguments.
/usr/bin/texi2dvi: Try `--help' for more information.
> system("gcc")
clang: error: no input files

If I open R from a terminal and do the same thing, it works. 
If I simply try admb in a terminal, it works too. 
My .bash_profile has these lines  
ADMB_HOME=/Applications/ADMBTerminal.app/admb 
export PATH="/Applications/ADMBTerminal.app/admb/bin":${PATH} 
And the terminal starts with the bash command, so that it knows this information.
Does R.app miss this step?

Can I fix R.app?

I’m using R 3.1.0 and have xcode 5.1 installed.

Thanks,
Mollie

------------------------
Mollie Brooks, PhD
Postdoctoral Researcher, Population Ecology Research Group http://www.popecol.org
Institute of Evolutionary Biology & Environmental Studies, University of Zürich


	[[alternative HTML version deleted]]

