Learn R Programming

⚠️There's a newer version (1.17.2) of this package.Take me there.

data.table (version 1.4.1)

Extension of data.frame for fast subset, fast merge and fast grouping.

Description

Enhanced data.frame. Fast subset, grouping and merge in a short and flexible syntax. i and j may be expressions of column names directly, for faster development. Example: data[a>3,sum(b*c),by=d] where data has 4 columns (a,b,c,d).

Copy Link

Version

Install

install.packages('data.table')

Monthly Downloads

1,037,494

Version

1.4.1

License

GPL

Maintainer

M Dowle and T Short

Last Published

May 3rd, 2010

Functions in data.table (1.4.1)

test.data.table

Runs a set of tests.
transform.data.table

Data table utilities
J

Creates a Join data table
setkey

Create key on a data table
Extract.data.table

Query a data table
timetaken

Pretty print of time taken
duplicated

Determine Duplicate Rows
between

Convenience function for range subset logic.
tables

Display all objects of class 'data.table'
last

Last item of an object
data.table

Enhanced data.frame
like

Convenience function for calling regexpr.
merge

Merge Two Data Tables