Learn R Programming

rjags (version 4-8)

jags.module: Dynamically load JAGS modules

Description

A JAGS module is a dynamically loaded library that extends the functionality of JAGS. These functions load and unload JAGS modules and show the names of the currently loaded modules.

Usage

load.module(name, path, quiet=FALSE)
unload.module(name, quiet=FALSE)
list.modules()

Arguments

name

name of the load module to be loaded

path

file path to the location of the DLL. If omitted, the option jags.moddir is used to locate the modules

quiet

a logical. If TRUE, no message will be printed about loading the package

Examples

Run this code
# NOT RUN {
list.modules()
load.module("glm")
list.modules()
unload.module("glm")
list.modules()
# }

Run the code above in your browser using DataLab