ls.objects | R Documentation |
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)
pos |
Position in search path, defaults to 1 |
pattern |
Pattern argument pass on to |
order.by |
Optional sort order column |
decreasing |
Optional switch for decreasing or increasing sort order |
head |
Optional switch to show |
n |
Number of elements to show, default to 5 |
... |
Passed through from |
sort |
Sort columns, defauls to ‘size’ |
limit |
Optional cap on displayed number of items |
These helper functions have evolved over the years; some were also posted on StackOverflow in response to https://stackoverflow.com/questions/1358003/tricks-to-manage-the-available-memory-in-an-r-session
The displayed data.frame is returned to, the main purpose effect however is the displayed information
Dirk Eddelbuettel, based on and extending code in mailing list posts by Petr Pikal and David Hinds
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.