https://github.com/cran/Rcpp
Tip revision: b910ea5f652584369af4ee348358e2f3067d59df authored by Dirk Eddelbuettel on 23 June 2013, 00:00:00 UTC
version 0.10.4
version 0.10.4
Tip revision: b910ea5
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}}
}