Rcpp::plugins attribute is added to a C++ source file to specify the
inline plugins that should be used in the compilation.
// [[Rcpp::plugins(plugin1, plugin2)]]
Plugins to add to the compilation.
Plugins must be registered using the
When included within a
sourceCpp translation unit,
the configuration-related fields of the plugin (e.g.
LinkingTo) are utilized, however the code-generation fields
body) are not.
Rcpp includes a built-in
cpp11 plugin that
adds the flags required to enable
C++11 features in the compiler.
1 2 3 4 5 6 7 8 9 10 11
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.