largeobj: What are the largest objects in memory?

Description Usage Arguments Value Author(s) Examples

View source: R/largeobj.R

Description

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

Usage

1
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

1
2
3
4
5
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 April 17, 2021, 6:47 p.m.