lss: List Objects with Their Sizes

View source: R/lss.r

lssR 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 (edwinsun258@gmail.com)

See Also

ls.

Examples

  lss()
  ls()

erer documentation built on Sept. 26, 2024, 5:06 p.m.