dang (version 0.0.10)

ls.objects: List largest objects and show memory use

Description

List object and memory used by these objects

Usage

ls.objects(pos = 1, pattern, order.by, decreasing = FALSE, head = FALSE,
  n = 5)

lsos(..., n = 10)

showMemoryUse(sort = "size", decreasing = FALSE, limit)

Arguments

pos

Position in search path, defaults to 1

pattern

Pattern argument pass on to ls

order.by

Optional sort order column

decreasing

Optional switch for decreasing or increasing sort order

head

Optional switch to show head(..., n)

n

Number of elements to show, default to 5

...

Passed through from lsos to ls.objects

sort

Sort columns, defauls to ‘size’

limit

Optional cap on displayed number of items

Value

The displayed data.frame is returned to, the main purpose effect however is the displayed information

Details

These helper functions have evolved over the years; some were also posted on StackOverflow in response to http://stackoverflow.com/questions/1358003/tricks-to-manage-the-available-memory-in-an-r-session