[ADMB Users] R2admb compile problem
Ben Stevenson
bcs5 at st-andrews.ac.uk
Mon Oct 21 02:48:59 PDT 2013
Hi Allan,
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
c:\\ADMB\\admb101-gcc452-win64\\bin.
If you call Sys.getenv("PATH"), does this directory appear?
Cheers,
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20131021/2204ca25/attachment.html>
More information about the Users
mailing list