Learn R Programming

datamart (version 0.5.2)

mem.info: Information on objects in R environment

Description

This function creates a list of objects that are currently in a given R environment (default the global workspace). Hence it is an extended version of ls.

Usage

mem.info(envir = .GlobalEnv, sortBy = "Size")

Arguments

envir
the environment to inspect, default is .GlobalEnv
sortBy
the result will be decreasingly sorted by this column. Possible values "Type", "Size" (default), "Rows", "Columns"

Value

data.frame with object information

References

Stackoverflow