Description Usage Arguments Details See Also
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.
1 | registerPlugin(name, plugin)
|
name |
Name of the inline plugin |
plugin |
Inline plugin function |
Plugins can be added to sourceCpp
compilations using the
Rcpp::plugins
attribute.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.