[R] Problems loading rjags in R 2.11.0 under OS X 10.5.8

Ruben Garcia Berasategui rubgb at binus.ac.id
Fri Aug 27 03:58:19 CEST 2010


 Dear list members,
I'm trying to use JAGS 2.1.0 from within R but every time I try to load the rjags package I receive the following message:

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

Any help regarding how to solve this problem would be greatly appreciated.
Many thanks in advance,
Ruben



More information about the R-help mailing list