Menu

#7 Error output with rjags

v1.0_(example)
open
nobody
None
1
2020-10-18
2020-10-18
Anonymous
No

Hello,

I am trying to run JAGS in my R-studio but for some reason it's not working. I have a mac 10.12.6 and am running the latest vesion of R compatable with my mac.

I installed JAGS and then installed rjags. but when I try to call rjags using "library("rjags")" , I get the following error output:

Loading required package: coda
Error: package or namespace load failed for ‘rjags’:
.onLoad failed in loadNamespace() for 'rjags', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/rjags/libs/rjags.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/rjags/libs/rjags.so, 10): Library not loaded: /usr/local/lib/libjags.4.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rjags/libs/rjags.so
Reason: image not found

I tried, reinstalling r, JAGS, rjags but nothing is working out. Please let know what should I do to fix this.

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.