List object and memory used by these objects
ls.objects(pos = 1, pattern, order.by, decreasing = FALSE, head = FALSE,
n = 5)lsos(..., n = 10)
showMemoryUse(sort = "size", decreasing = FALSE, limit)
Position in search path, defaults to 1
Pattern argument pass on to ls
Optional sort order column
Optional switch for decreasing or increasing sort order
Optional switch to show head(..., n)
Number of elements to show, default to 5
Passed through from lsos
to ls.objects
Sort columns, defauls to ‘size’
Optional cap on displayed number of items
The displayed data.frame is returned to, the main purpose effect however is the displayed information
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