Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

loadRcppModules-deprecated

Loads Rcpp modules on package startup


Description

Note: As of release 0.12.5, this function is deprecated; loadModule should be used instead.

Function to simplify loading Rcpp modules contained in a package. This function must be called from the .onLoad function of a package. It uses the RcppModules field of the package DESCRIPTION file to query the names of the modules that the package should export, loads each module, and populate each module into the package NAMESPACE.

Usage

loadRcppModules(direct=TRUE)

Arguments

direct

if TRUE the content of the module is exposed in the namespace. Otherwise, the module is exposed.

See Also


Rcpp

Seamless R and C++ Integration

v1.0.6
GPL (>= 2)
Authors
Dirk Eddelbuettel, Romain Francois, JJ Allaire, Kevin Ushey, Qiang Kou, Nathan Russell, Douglas Bates and John Chambers
Initial release
2021-01-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.