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.

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

Martyn Plummer

Examples

list.modules()
#> [1] "basemod" "bugs"   
load.module("glm")
#> module glm loaded
list.modules()
#> [1] "basemod" "bugs"    "glm"    
unload.module("glm")
#> Module glm unloaded
list.modules()
#> [1] "basemod" "bugs"