memory.profile

0th

Percentile

Profile the Usage of Cons Cells

Lists the usage of the cons cells by SEXPREC type.

Keywords
utilities
Usage
memory.profile()
Details

The current types and their uses are listed in the include file Rinternals.h.

Value

A vector of counts, named by the types. See typeof for an explanation of types.

gc for the overall usage of cons cells. Rprofmem and tracemem allow memory profiling of specific code or objects, but need to be enabled at compile time.
library(base) # NOT RUN { memory.profile() # }