https://github.com/cran/Rcpp
Raw File
Tip revision: 9722a1ee732d7085a4041f19bec97d9c47e8b6ac authored by Dirk Eddelbuettel on 02 February 2014, 00:00:00 UTC
version 0.11.0
Tip revision: 9722a1e
registerPlugin.Rd
\name{registerPlugin}
\alias{registerPlugin}
\title{
Register an inline plugin
}
\description{
Register an \link[inline:plugins]{inline plugin} for use with 
\code{\link{sourceCpp}} or \code{\link{cppFunction}}. Inline plugins are functions
that return a list with additional includes, environment variables, and
other compilation context. 
}
\usage{
registerPlugin(name, plugin)
}
\arguments{
    \item{name}{Name of the inline plugin}
    \item{plugin}{Inline plugin function}
}
\details{
    Plugins can be added to \code{\link{sourceCpp}} compilations using the
    \code{\link[=pluginsAttribute]{Rcpp::plugins}} attribute.
}
\seealso{
    \code{\link[=pluginsAttribute]{Rcpp::plugins}}
}


back to top