<div dir="ltr"><div><div>Hi Allan,<br><br></div>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.<br>
<br></div><div>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.<br>
<br></div><div><span>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 </span><span>c:\\ADMB\\admb101-gcc452-win64\\bin. If you call Sys.getenv("PATH"), does this directory appear?<br>
<br></span></div><div><span>Cheers,<br><br>Ben<br></span></div></div>