largeobj: What are the largest objects in memory?

View source: R/largeobj.R

largeobjR Documentation

What are the largest objects in memory?

Description

This function lists all the objects in the global environmnet and lists the n largest.

Usage

largeobj(n = 5, units = "Mb")

Arguments

n

the number of objects to return

units

units to display, see ?object.size

Value

a named character string of the size of the 'n' largest objects

Author(s)

Michael I. Love

Examples

x<-rnorm(10^5)
y<-rnorm(10^6)
z<-rnorm(2*10^6)
w<-rnorm(3*10^6)
largeobj(n=3)


rafalab/rafalib documentation built on March 29, 2025, 9:35 p.m.