\HeaderA{compile.NativeCode}{Compiles native code}{compile.NativeCode}
\aliasA{compile,NativeCode-method}{compile.NativeCode}{compile,NativeCode.Rdash.method}
\aliasA{NativeCode.compile}{compile.NativeCode}{NativeCode.compile}
\keyword{internal}{compile.NativeCode}
\keyword{methods}{compile.NativeCode}
\keyword{programming}{compile.NativeCode}
\begin{Description}\relax
Compiles native code into a shared library.
\end{Description}
\begin{Usage}
\begin{verbatim}NativeCode$compile(name, path=NULL, ..., load=TRUE)\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{name}] The name of the library to check.
\item[\code{path}] A \code{\LinkA{character}{character}} string specifying the path to the library.
\item[\code{...}] Additional arguments passed to \code{\LinkA{system}{system}}() when
calling \code{R CMD SHLIB}.
\item[\code{load}] If \code{\LinkA{TRUE}{TRUE}}, the code is (re-)loaded after being compiled,
otherwise not.
\end{ldescription}
\end{Arguments}
\begin{Value}
Returns (invisibly) what \code{\LinkA{system}{system}}() returns.
\end{Value}
\begin{Author}\relax
Henrik Bengtsson (\url{http://www.braju.com/R/})
\end{Author}
\begin{SeeAlso}\relax
For more information see \code{\LinkA{NativeCode}{NativeCode}}.
\end{SeeAlso}

