lsos: Improved list of objects

Description Usage Arguments Author(s) Examples

Description

Improved list of objects. Sorts by size by default. This was shamelessly stolen from http://stackoverflow.com/questions/1358003/tricks-to-manage-the-available-memory-in-an-r-session

Usage

1
2
lsos(pos = 1, pattern, order.by = "Size", decreasing = TRUE,
  head = TRUE, n = 10)

Arguments

pos

numeric. Position in the stack

pattern

Regex to filter the objects by

order.by

character. Either 'Type', 'Size', 'PrettySize', 'Rows', or 'Columns'. This will dictate how the output is ordered

decreasing

logical. Should the output be displayed in decreasing order

head

logical. Use head on the output?

n

numeric. Number of objects to display is head is TRUE

Author(s)

Dirk Eddelbuettel, Tony Breyal

Examples

1
2
3
4
5
6
7
lsos()
## Not run: 
a <- rnorm(100000)
b <- matrix(1, 1000, 100)
lsos()

## End(Not run)

Dasonk/Dmisc documentation built on May 6, 2019, 1:36 p.m.