Learn R Programming

omnibus (version 1.2.12)

memUse: Size of objects taking most memory use

Description

Displays the largest objects in memUse.

Usage

memUse(
  n = 10,
  orderBy = "size",
  decreasing = TRUE,
  pos = 1,
  display = TRUE,
  ...
)

Value

Data frame (invisible).

Arguments

n

Positive integer: Maximum number of objects to display.

orderBy

Either 'size' (default) or 'name'.

decreasing

Logical, if TRUE (default), objects are displayed from largest to smallest.

pos

Environment from which to obtain size of objects. Default is 1. See ls.#"

display

If TRUE (default), print a table with memUse used.

...

Other arguments to pass to ls.

Examples

Run this code
memUse()
memUse(3)

Run the code above in your browser using DataLab