\Header{Primitive}{Call a ``Primitive'' Internal Function}
\alias{.Primitive}{Primitive}
\keyword{interface}{Primitive}
\begin{Description}\relax
\code{.Primitive} returns an entry point to a \dQuote{primitive}
(internally implemented) function.

The advantage of \code{.Primitive} over \code{\Link{.Internal}}
functions is the potential efficiency of argument passing.
\end{Description}
\begin{Usage}
\begin{verbatim}
.Primitive(name)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{name}] name of the \R{} function.
\end{ldescription}
\end{Arguments}
\begin{SeeAlso}\relax
\code{\Link{.Internal}}.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
mysqrt <- .Primitive("sqrt")
c
.Internal # this one *must* be primitive!
get("if") # just 'if' or 'print(if)' are not syntactically ok.
\end{ExampleCode}
\end{Examples}

