tables {data.table}R Documentation

Lists all objects of class 'data.table'

Description

Outputs one line per data.table providing name, number of rows, and column names.

Usage

tables(mb = FALSE, order.col = "NAME", width = 80)

Arguments

mb TRUE adds size of the data.table in MB to the output. Calls object.size so can be very slow
order.col Quoted column name to sort the output by
width Number of characters to truncate the COLS output

Details

Value

A data.table containing the information printed.

Note

Author(s)

Matt Dowle

References

See Also

ls, objects, object.size~~~

Examples

    DT = data.table(A=1:10,B=letters[1:10])
    DT2 = data.table(A=1:10000,ColB=10000:1)
    tables()

[Package data.table version 1.0 Index]