1. Despite being in R with administrative rights the library "rjags" loads in a temporary location.
> install.packages("rjags", dependencies=TRUE, + lib= "C:/Users/Margaret Donald/Documents/R/win-library/3.2") trying URL 'https://cran.r-project.org/bin/windows/contrib/3.2/rjags_4-4.zip ' Content type 'application/zip' length 525871 bytes (513 KB) downloaded 513 KB package ‘rjags’ successfully unpacked and MD5 sums checked The downloaded binary packages are in C:\Users\Margaret Donald\AppData\Local\Temp\RtmpMzv76s\downloaded_packages #----------------------------------------------------------------------------------------------------------------- 2. Cannot find JAGS-4.0.0 which is in C;\programs\JAGS\JAGS-4.0.0. How do I get R to see JAGS-4.0.0 > library(rjags) Error : .onLoad failed in loadNamespace() for 'rjags', details: call: fun(libname, pkgname) error: Failed to locate any version of JAGS version 4 The rjags package is just an interface to the JAGS library Make sure you have installed JAGS-4.x.y.exe (for any x >=0, y>=0) from http://www.sourceforge.net/projects/mcmc-jags/files Error: package or namespace load failed for ‘rjags’ > library(R2jags) Loading required package: rjags Error : .onLoad failed in loadNamespace() for 'rjags', details: call: fun(libname, pkgname) error: Failed to locate any version of JAGS version 4 The rjags package is just an interface to the JAGS library Make sure you have installed JAGS-4.x.y.exe (for any x >=0, y>=0) from http://www.sourceforge.net/projects/mcmc-jags/files Error: package ‘rjags’ could not be loaded > Regards, Margaret Donald -- Margaret Donald Post Doctoral researcher University of New South Wales margaret.don...@unsw.edu.au 0405 834 550 [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.