Using R2jags

This KB Article References: High Performance Computing
This Information is Intended for: Instructors, Researchers, Staff
Created: 06/13/2017 Last Updated: 05/15/2024

JAGS can be run in R via the R2jags package.  In order to run R2jags, load the following modules:

module load shared
module load JAGS/4.2.0
module load openblas/dynamic/0.2.18
module load R/3.3.2

To access R, type R into the shell.  From within R, the following command will load the R2jags package:

library(R2jags)

An example PBS script for running R2jags jobs can be found here:

/gpfs/projects/samples/R2jags

For More Information Contact


IACS Support System

Still Need Help? The best way to report your issue or make a request is by submitting a ticket.

Request Access or Report an Issue

Related Information


Important Files & Links