Learn R Programming

gdata (version 2.2.0)

env: Display Information about All Loaded Environments

Description

Display name, number of objects, and size of all loaded environments.

Usage

env(unit=c("KB","MB","bytes"), digits=0)

Arguments

unit
required unit for displaying environment size: "bytes", "KB", "MB", or first letter.
digits
number of decimals to display when rounding environment size.

Value

  • A data frame with the following columns:
  • Environmentenvironment name.
  • Objectsnumber of objects in environment.
  • KBenvironment size (see notes).

Details

A verbose alternative to search().

See Also

search displays environment names.

ll is related to env.

Examples

Run this code
env()

Run the code above in your browser using DataLab