https://github.com/cran/Rcpp
Revision 0d0887513e566d9ab0da448ea6aa29325b28e9fd authored by Dirk Eddelbuettel on 28 September 2017, 07:09:26 UTC, committed by cran-robot on 28 September 2017, 07:09:26 UTC
1 parent 79984c8
Raw File
Tip revision: 0d0887513e566d9ab0da448ea6aa29325b28e9fd authored by Dirk Eddelbuettel on 28 September 2017, 07:09:26 UTC
version 0.12.13
Tip revision: 0d08875
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