Using R2jags

Audience: Faculty, Researchers and Staff

This KB Article References:
This Information is Intended for: Faculty, Researchers, Staff
Last Updated: October 13, 2017

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

Additional Information


Files & Links

Getting Help


The Division of Information Technology provides support on all of our services. If you require assistance please submit a support ticket through the IT Service Management system.

Submit A Ticket

Supported By