lsos: Extend 'ls()' function with memory information

Description Usage Arguments Value Examples

Description

Extend ls() function with memory information, disks occupancy, ...

Usage

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

Arguments

pos

["numeric"]: An alternative argument to name (see ls()) for specifying the environment as a position in the search list. Mostly there for back compatibility.

pattern

["character"]: An optional regular expression. Only names matching pattern are returned. glob2rx can be used to convert wildcard patterns to regular expressions.

order.by

["character"]: Column where the resulst should be ordered (e.g. Type, Size, PrettySize, Rows, Columns).

decreasing

["logical"]: Should the sort be increasing or decreasing? Not available for partial sorting.

head

["logical"]: Geader should be print.

n

["numeric"]: Number of elements if head=TRUE.

Value

Return a table with each row is a R object and columns are Type, Size, "PrettySize", "Rows" and "Columns".

Examples

1
2
3
obj1 <- matrix(NA, 10, 10)
obj2 <- rnorm(100, 0, 1)
lsos()

mcanouil/myScriptsMickael documentation built on May 22, 2019, 12:59 p.m.