List objects in the current work space (global environment) and their respective size in bytes - taken from Dirk Eddelbuettel's response at http://stackoverflow.com/questions/1358003/tricks-to-manage-the-available-memory-in-an-r-session.
ls.objects(pos = 1, pattern, order.by = "Size", decreasing = TRUE, head = FALSE, n = 5)
ls()
).head()
.head = TRUE
.