| jags.module | R Documentation |
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. The load.pkg.module function is provided specifically for use from other R packages containing JAGS modules and checks for binary compatibility between rjags and the indicated package (given by the name argument) before loading the module embedded within the package. Note that this would normally be done in the .onAttach function.
load.module(name, path, quiet=FALSE)
load.pkg.module(pkgname, libname, bin.compat, quiet=FALSE,
check.only=FALSE)
unload.module(name, quiet=FALSE)
list.modules()
name |
name of the module to be loaded |
path |
file path to the location of the DLL. If omitted,
the option |
quiet |
a logical. If |
pkgname |
name of the R package containing the module to be loaded |
libname |
path to the library directory where the R package can be found |
bin.compat |
a list generated by |
check.only |
a logical. If |
Martyn Plummer
list.modules()
load.module("glm")
list.modules()
unload.module("glm")
list.modules()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.