Learn R Programming

Rcpp (version 0.8.9)

Module: Retrieves an Rcpp module

Description

Retrieves an Rcpp module from a dynamic library, usually associated with a package.

Usage

Module(module, PACKAGE = getPackageName(where), where = topenv(parent.frame()), mustStart = FALSE )

Arguments

module
Name of the module, as declared in the RCPP_MODULE macro internally
PACKAGE
where
When the module is loaded, S4 classes are defined based on the internal classes. This argument is passed to setClass
mustStart
TODO

Value

  • An object of class Module collecting functions and classes declared in the module.