registerPlugin: Register an inline plugin

View source: R/Attributes.R

registerPluginR Documentation

Register an inline plugin

Description

Register an inline plugin for use with sourceCpp or cppFunction. Inline plugins are functions that return a list with additional includes, environment variables, and other compilation context.

Usage

registerPlugin(name, plugin)

Arguments

name

Name of the inline plugin

plugin

Inline plugin function

Details

Plugins can be added to sourceCpp compilations using the Rcpp::plugins attribute.

See Also

Rcpp::plugins


Rcpp documentation built on Nov. 3, 2024, 1:06 a.m.