Open jimhester opened 8 years ago
Using JAGS 4.2.0 installed to the default location and the make variable JAGS_ROOT = c:/Progra~1/JAGS/JAGS-4.2.0
JAGS_ROOT = c:/Progra~1/JAGS/JAGS-4.2.0
I get the following error
* installing *source* package 'rjags' ... ** package 'rjags' successfully unpacked and MD5 sums checked ** libs *** arch - i386 C:/Rtools33/mingw_32/bin/g++ -I"C:/PROGRA~1/R/R-devel/include" -DNDEBUG -I"c:/Progra~1/JAGS/JAGS-4.2.0/include" -I"C:/RCompile/r-compiling/local/local323/include" -O2 -Wall -mtune=core2 -c jags.cc -o jags.o C:/Rtools33/mingw_32/bin/g++ -I"C:/PROGRA~1/R/R-devel/include" -DNDEBUG -I"c:/Progra~1/JAGS/JAGS-4.2.0/include" -I"C:/RCompile/r-compiling/local/local323/include" -O2 -Wall -mtune=core2 -c parallel.cc -o parallel.o C:/Rtools33/mingw_32/bin/g++ -shared -s -static-libgcc -o rjags.dll tmp.def jags.o parallel.o -Lc:/Progra~1/JAGS/JAGS-4.2.0//i386/bin -ljags-4 -LC:/RCompile/r-compiling/local/local323/lib/i386 -LC:/RCompile/r-compiling/local/local323/lib -LC:/PROGRA~1/R/R-devel/bin/i386 -lR installing to C:/library/rjags/libs/i386 *** arch - x64 C:/Rtools33/mingw_64/bin/g++ -I"C:/PROGRA~1/R/R-devel/include" -DNDEBUG -I"c:/Progra~1/JAGS/JAGS-4.2.0/include" -I"C:/RCompile/r-compiling/local/local323/include" -O2 -Wall -mtune=core2 -c jags.cc -o jags.o C:/Rtools33/mingw_64/bin/g++ -I"C:/PROGRA~1/R/R-devel/include" -DNDEBUG -I"c:/Progra~1/JAGS/JAGS-4.2.0/include" -I"C:/RCompile/r-compiling/local/local323/include" -O2 -Wall -mtune=core2 -c parallel.cc -o parallel.o C:/Rtools33/mingw_64/bin/g++ -shared -s -static-libgcc -o rjags.dll tmp.def jags.o parallel.o -Lc:/Progra~1/JAGS/JAGS-4.2.0//x64/bin -ljags-4 -LC:/RCompile/r-compiling/local/local323/lib/x64 -LC:/RCompile/r-compiling/local/local323/lib -LC:/PROGRA~1/R/R-devel/bin/x64 -lR installing to C:/library/rjags/libs/x64 ** R ** data ** preparing package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded *** arch - i386 *** arch - x64 ERROR: loading failed for 'i386' Warning in install.packages : running command '"C:/PROGRA~1/R/R-devel/bin/x64/R" CMD INSTALL --no-clean-on-error -l "C:\library" C:\Users\Jim\AppData\Local\Temp\RtmpEp6Ypa/downloaded_packages/rjags_4-6.tar.gz' had status 1 Warning in install.packages : installation of package ‘rjags’ had non-zero exit status
If I run install.packages() with INSTALL_opts = '--no-clean-on-error' library(rjags) loads fine on 64 bit R but segfaults on 32 bit R.
install.packages()
INSTALL_opts = '--no-clean-on-error'
library(rjags)
Would be nice to know if you can reproduce this @jeroenooms, or if it an issue with how I have the libraries setup.
Using JAGS 4.2.0 installed to the default location and the make variable
JAGS_ROOT = c:/Progra~1/JAGS/JAGS-4.2.0
I get the following error
If I run
install.packages()
withINSTALL_opts = '--no-clean-on-error'
library(rjags)
loads fine on 64 bit R but segfaults on 32 bit R.Would be nice to know if you can reproduce this @jeroenooms, or if it an issue with how I have the libraries setup.