Lists the usage of the cons cells by SEXPREC type.
Syntax
R
memory.profile()
Return Value
A vector of counts, named by the types. See typeof for an explanation of types.
Details
The current types and their uses are listed in the include file Rinternals.h.
Examples
Example
R
# NOT RUN {
memory.profile()
# }
See Also
gc for the overall usage of cons cells. Rprofmem and tracemem allow memory profiling of specific code or objectsbut need to be enabled at compile time.