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)

Arguments

pos
Position in environment to search.
pattern
Search pattern for the environment (passed to ls()).
order.by
Column to order results by.
decreasing
Logical indicating whether to sort results in decreasing order.
head
Logical indicating whether the results should be truncated by head().
n
Number to truncate results if head = TRUE.