lss {erer}R Documentation

List Objects with Their Sizes

Description

Show the name and memory size of objects in an R session.

Usage

lss(n = 5, pos = 1, decreasing = TRUE, order.by=c("Size", "Type")) 

Arguments

n

number of objects to show.

pos

specifying the environment; see ls.

decreasing

sorting order.

order.by

sorting variable.

Details

This function shows the names and sizes of objects in an R session. This is useful for managing avaiable memory in an R Session.

Value

Return a dataframe object with the following columns: name, type, size, prettysize, rows, and columns.

Author(s)

Changyou Sun (cs258@msstate.edu)

See Also

ls.

Examples

  lss()
  ls()

[Package erer version 3.1 Index]