Profile the Usage of Cons Cells (original) (raw)

memory.profile {base} R Documentation

Description

Lists the usage of the cons cells by SEXPREC type.

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](../../base/help/typeof.html) for an explanation of types.

See Also

[gc](../../base/help/gc.html) for the overall usage of cons cells.[Rprofmem](../../utils/html/Rprofmem.html) and [tracemem](../../base/help/tracemem.html) allow memory profiling of specific code or objects, but need to be enabled at compile time.

Examples


memory.profile()

[Package _base_ version 4.6.0 Index]