jags.module: Dynamically load JAGS modules

jags.moduleR Documentation

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

Author(s)

Martyn Plummer

Examples

list.modules()
load.module("glm")
list.modules()
unload.module("glm")
list.modules()

rjags documentation built on Sept. 11, 2024, 6:31 p.m.