lsSizes: List object sizes

Description Usage Arguments Value Author(s) See Also Examples

View source: R/lsSizes.R

Description

Produces a data frame of objects in the specified environment (default is the Global environment) together with approximate object sizes in Kb, sorted by size.

Usage

1

Arguments

name

which environment to use in listing the available objects. Defaults to the current environment. Can be an integer (the position in the search list); the character string name of an element in the search list; or an explicit environment. See the help on ls.

Value

A data frame with one column, the approximate size of each object in kilobytes, sorted by size (largest first). Row names are the object names.

Author(s)

Mike Meredith 19 July 2011

See Also

See also ls.

Examples

1
2
require(stats)
lsSizes("package:stats")

mikemeredith/MMmisc documentation built on Nov. 8, 2019, 11:34 p.m.