[ADMB Users] R2admb compile problem
bcs5 at st-andrews.ac.uk
Mon Oct 21 02:48:59 PDT 2013
Given that ADMB seems to be working fine on its own, you're probably better
off asking this question to an R2admb package maintainer as only a few
people here use R2admb.
R2admb uses the system() R function to in order to compile the .tpl file.
My guess is that it is not finding the admb command, and this will be
something to do with environment variables. What happens when you run
system("admb") in R? Do you get an error saying about the admb command not
being found? This would confirm my suspicion.
If this is the case, find where the admb binary is on your system. From the
output of setup_admb, my guess is that it's in
If you call Sys.getenv("PATH"), does this directory appear?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users