\HeaderA{memory.profile}{Profile the Usage of Cons Cells}{memory.profile}
\keyword{utilities}{memory.profile}
\begin{Description}\relax
Lists the usage of the cons cells by \code{SEXPREC} type.
\end{Description}
\begin{Usage}
\begin{verbatim}
memory.profile()
\end{verbatim}
\end{Usage}
\begin{Details}\relax
The current types and their uses are listed in the include file
\file{Rinternals.h}.
\end{Details}
\begin{Value}
A vector of counts, named by the types.  See \code{\LinkA{typeof}{typeof}} for
an explanation of types.
\end{Value}
\begin{SeeAlso}\relax
\code{\LinkA{gc}{gc}} for the overall usage of cons cells.
\code{\LinkA{Rprofmem}{Rprofmem}} and \code{\LinkA{tracemem}{tracemem}} allow memory profiling
of specific code or objects, but need to be enabled at compile time.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
memory.profile()
\end{ExampleCode}
\end{Examples}

