Learn R Programming

shipunov (version 1.17.1)

Ls: Ls

Description

Advanced object browser

Usage

Ls (pos = 1, pattern, mode = "any", type = "any", exclude = "function", sort = "name")

Value

Data frame with object features columns.

Arguments

mode

which object mode to include, "any" to include all

type

which object type to include ("type" is typically, but not always an object's class attribute), "any" to include all

exclude

exclude functions (default), "none" to include all

sort

sort by name (default), "size" to sort by size

pos

specify environment, passed to ls()

pattern

optional regular expression, passed to ls()

Author

Alexey Shipunov

Details

Based on 'ls()' but outputs data frame.

See Also

Examples

Run this code
data(trees)
Ls()

Run the code above in your browser using DataLab