Learn R Programming

base (version 3.6.2)

memory.profile: Profile the Usage of Cons Cells

Description

Lists the usage of the cons cells by SEXPREC type.

Usage

memory.profile()

Arguments

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.

See Also

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.

Examples

Run this code
# NOT RUN {
memory.profile()
# }

Run the code above in your browser using DataLab