I am having an issue with runjags recognizing where jags is installed. I am using the USDA Ceres cluster (Linux system).
JAGS 4.3.2 is installed in the 'project/carib_fia/james.hogan/JAGS' folder.
I can dyn.load the libjags.so.4 from there and get R2jags to link to JAGS, but for some reason, I cannot get runjags to find where JAGS is (see picture attached; code is below):
sessionInfo()## dynamic load JAGSdyn.load('/project/carib_fia/james.hogan/JAGS/4.3.2/lib/libjags.so.4')## packages --- R2jags says it is linked to JAGS 4.3.2library(R2jags)library(runjags)# this works to get R to recognize JAGS (but wont work if I runjags in parallel)## set path in runjags.optionsrunjags.options(jagspath='/project/carib_fia/james.hogan/JAGS/4.3.2/lib/')testjags()### findjagsfindjags(look_in='/project/carib_fia/james.hogan/JAGS/4.3.2/lib/')##^ these lines of code do not work to get R to recognize JAGS.
Any help you can provide is greatly appreciated
Thanks in advance, Aaron
Hi runjags community,
I am having an issue with runjags recognizing where jags is installed. I am using the USDA Ceres cluster (Linux system).
JAGS 4.3.2 is installed in the 'project/carib_fia/james.hogan/JAGS' folder.
I can dyn.load the libjags.so.4 from there and get R2jags to link to JAGS, but for some reason, I cannot get runjags to find where JAGS is (see picture attached; code is below):
Any help you can provide is greatly appreciated
Thanks in advance, Aaron