\HeaderA{builtins}{Returns the Names of All Built-in Objects}{builtins}
\keyword{utilities}{builtins}
\begin{Description}\relax
Return the names of all the built-in objects.  These are fetched
directly from the symbol table of the \R{} interpreter.
\end{Description}
\begin{Usage}
\begin{verbatim}builtins(internal = FALSE)\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{internal}] a logical indicating whether only \sQuote{internal}
functions (which can be called via \code{\LinkA{.Internal}{.Internal}}) should
be returned.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
\code{builtins()} returns an unsorted list of the objects in the
symbol table, that is all the objects in the base environment.
These are the built-in objects plus any that have been added
subsequently when the base package was loaded.  It is less confusing
to use \code{ls(baseenv(), all=TRUE)}.

\code{builtins(TRUE)} returns an unsorted list of the names of internal
functions, that is those which can be accessed as
\code{.Internal(\var{foo}(args ...))} for \var{foo} in the list.
\end{Details}
\begin{Value}
A character vector.
\end{Value}

