You'll need Program R and JAGS installed on your computer. We also recommend RStudio as a nice interface to Program R. Each is a separate installation. Installation instructions below.
You will need software installation privileges on your computer.
Version 4.1.3 is the latest version. We recommend updating to this version if you already have an outdated version installed.
Go to https://cran.r-project.org/
For Windows (the same page has similar links for macOS or Linux)
Select "Download R for Windows"
Select "install R for the first time"
Download installer file and follow installation instructions; default settings are okay.
Version 2022.02.1+461 is the latest version. We recommend updating to this version if you already have an outdated version installed.
Go to https://www.rstudio.com/products/rstudio/download/
For Windows (follow similar steps for macOS or Linux)
Scroll down to RStudio Desktop (the free version)
Click Download
Select "Download RStudio for Windows"
Download installer file and follow installation instructions; default settings are okay.
Version 4.3.0 is the latest version. We recommend updating to this version if you already have an outdated version installed.
Go to https://sourceforge.net/projects/mcmc-jags/files/
For Windows (the same page has similar links for macOS or Linux)
Select "JAGS"
Select "4.x"
Select "Windows"
Select "JAGS-4.3.0.exe"
After a pause, the installer file will download; follow installation instructions; default settings are okay.
Download the testJAGS.R R script and open in RStudio. Highlight all text and click "Run".
This will install the necessary R packages and check that JAGS is installed and connected to R. We don't expect you to understand what this code does, just reach out to your instructors if any warnings or errors are produced when you run it. Note, warnings about "the following object is masked..." are normal and not an issue.