- Workshop, University of Oslo, Norway, June 4-6, 2014.
- Course offered through the University of St. Gallen Summer School in Empirical Research Methods (SSERM), St. Gallen, Switzerland, June 10-13, 2014.
- Course offered through the Interuniversity Consortium for Political and Social Research (ICPSR) Summer Program, Ann Arbor, Michigan, July 8-11, 2014.
In preparation of for the ICPSR course I have been trying to set up rjags. I am using R version 3.1.0 (2014-04-10) -- "Spring Dance" and I get the error message
ReplyDelete> package ‘rjags’ is not available (for R version 3.1.0)
Will there be an update or should I be running a legacy version or R?
Thanks in advance.
Natalie
Sometimes there is a brief lag between packages when R is updated. I just tried and it worked fine (see below), so give it another try. Sorry for the frustration.
ReplyDeleteR version 3.1.0 (2014-04-10) -- "Spring Dance"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> install.packages("rjags")
Installing package into ‘C:/Users/John/Documents/R/win-library/3.1’
(as ‘lib’ is unspecified)
also installing the dependency ‘coda’
trying URL 'http://cran.mtu.edu/bin/windows/contrib/3.1/coda_0.16-1.zip'
Content type 'application/zip' length 197584 bytes (192 Kb)
opened URL
downloaded 192 Kb
trying URL 'http://cran.mtu.edu/bin/windows/contrib/3.1/rjags_3-13.zip'
Content type 'application/zip' length 516222 bytes (504 Kb)
opened URL
downloaded 504 Kb
package ‘coda’ successfully unpacked and MD5 sums checked
package ‘rjags’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\John\AppData\Local\Temp\Rtmp4cyeto\downloaded_packages
Thanks very much for the response. I still get the same issue - perhaps it is because I am using a mac?
ReplyDeleteRegarding package rjags with R3.1.0 on MacOS: I have posted queries on Facebook and the JAGS discussion board. At least one person has not had a problem, although another has. Perhaps you could go to JAGS discussion board and follow up there?
ReplyDeleteOkay! Thank you.
ReplyDeleteJust a follow-up... the suggestion from the JAGS discussion board to run R 3.1.0 built for snow leopard rather than mavericks sorted it out. Thanks again for the speedy assistance.
ReplyDeletehttp://sourceforge.net/p/mcmc-jags/discussion/610037/thread/af42ce2b/
I was having the same problems. "Snow Leopard" install is the fix. Thanks!
ReplyDelete