Rcpp.plugin.maker | R Documentation |
This function helps packages making inline plugins.
Rcpp.plugin.maker(
include.before = "",
include.after = "",
LinkingTo = unique(c(package, "Rcpp")),
Depends = unique(c(package, "Rcpp")),
Imports = unique(c(package, "Rcpp")),
libs = "",
Makevars = NULL,
Makevars.win = NULL,
package = "Rcpp"
)
include.before |
Code to be included before the ‘Rcpp.h’ file |
include.after |
Code to be included after the ‘Rcpp.h’ file |
LinkingTo |
Packages to be added to the ‘LinkingTo’ field |
Depends |
Packages to be added to the ‘Depends’ field [deprecated] |
Imports |
Packages to be added to the ‘Depends’ field |
libs |
library flags |
Makevars |
content for a ‘Makevars’ file, or |
Makevars.win |
content for a ‘Makevars.win’ file, or |
package |
The package this plugin is for. |
A function that is suitable as a plugin. See for example the ‘RcppArmadillo’ package that uses this to create its inline plugin.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.