lsos: Improved list of objects

View source: R/workspace.R

lsosR Documentation

Improved list of objects

Description

Prints a table showing the size of biggest objects in the global environment (by default). Based on code by Dirk Eddelbuettel at StackOverflow

Usage

lsos(
  pos = 1,
  pattern,
  order.by = "Size_Mb",
  decreasing = TRUE,
  head = TRUE,
  n = 10
)

Arguments

pos

numeric. an alternative argument to name for specifying the environment as a position in the search list. Mostly there for back compatibility.

pattern

character. pattern to match objects listed

order.by

character. Name of column to order results by. Set to NULL for not ordering

decreasing

logical. Set to FALSE if increasing order is desired

head

logical. By default limits results to n results

n

numeric. Number of results to show when setting head to TRUE

Value

data.frame

Author(s)

Dirk Eddelbuettel


AngelCampos/m.shortcuts documentation built on Feb. 25, 2024, 4:06 a.m.