install.packages("rjags")
でinstall.packages("rjags", configure.args="--enable-rpath")
推奨されるは、次rjags
のエラーで失敗します。INSTALL
** testing if installed package can be loaded from temporary location
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 '/<path to r libraries>/R_libraries/00LOCK-rjags/00new/rjags/libs/rjags.so':
/<path to r libraries>/R_libraries/00LOCK-rjags/00new/rjags/libs/rjags.so: undefined symbol: _ZN4jags7Console10setRNGnameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘<path to r libraries>/R_libraries/rjags’
Warning in install.packages :
installation of package ‘rjags’ had non-zero exit status