\Header{memory.profile}{Profile the Usage of Cons Cells}
\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}. There will be blanks in the list corresponding
to types that are no longer in use (types 11 and 12 at the time of
writing). Also \code{FUNSXP} is not included.
\end{Details}
\begin{Value}
A vector of counts, named by the types.
\end{Value}
\begin{SeeAlso}\relax
\code{\Link{gc}} for the overall usage of cons cells.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
memory.profile()
\end{ExampleCode}
\end{Examples}

