Learn R Programming

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

data.table (version 1.12.4)

Extension of `data.frame`

Description

Fast aggregation of large data (e.g. 100GB in RAM), fast ordered joins, fast add/modify/delete of columns by group using no copies at all, list columns, friendly and fast character-separated-value read/write. Offers a natural and flexible syntax, for faster development.

Copy Link

Version

Install

install.packages('data.table')

Monthly Downloads

971,635

Version

1.12.4

License

MPL-2.0 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Matt Dowle

Last Published

October 3rd, 2019

Functions in data.table (1.12.4)

J

Creates a join data.table
fifelse

Fast ifelse
dcast.data.table

Fast dcast for data.table
duplicated

Determine Duplicate Rows
fcoalesce

Coalescing missing values
foverlaps

Fast overlap joins
data.table-class

S4 Definition for data.table
copy

Copy an entire object
chmatch

Faster match of character vectors
data.table-package

Enhanced data.frame
datatable.optimize

Optimisations in data.table
like

Convenience function for calling grep.
roll

Rolling functions
merge

Merge two data.tables
fsort

Fast parallel sort
na.omit.data.table

Remove rows with missing values on columns specified
last

First/last item of an object
.Last.updated

Number of rows affected by last update
rowid

Generate unique row ids within each group
melt.data.table

Fast melt for data.table
set2key

Deprecated.
setcolorder

Fast column reordering of a data.table by reference
setNumericRounding

Change or turn off numeric rounding
shift

Fast lead/lag for vectors and lists
shouldPrint

For use by packages that mimic/divert auto printing e.g. IRkernel and knitr
fwrite

Fast CSV writer
groupingsets

Grouping Set aggregation for data tables
tstrsplit

strsplit and transpose the resulting list efficiently
timetaken

Pretty print of time taken
transform.data.table

Data table utilities
nafill

Fill missing values
update.dev.pkg

Perform update of development version of a package
setattr

Set attributes of objects by reference
setDTthreads

Set or get number of threads that data.table should use
setkey

Create key on a data.table
special-symbols

Special symbols
setorder

Fast row reordering of a data.table by reference
test.data.table

Runs a set of tests.
test

Test assertions for equality, exceptions and console output
setops

Set operations for data tables
tables

Display 'data.table' metadata
subset.data.table

Subsetting data.tables
patterns

Obtain matching indices corresponding to patterns
frank

Fast rank
print.data.table

data.table Printing Options
split

Split data.table into chunks in a list
rbindlist

Makes one data.table from a list of many
setDT

Coerce lists and data.frames to data.table by reference
rleid

Generate run-length type group id
setDF

Coerce a data.table to data.frame by reference
fread

Fast and friendly file finagler
truelength

Over-allocation access
transpose

Efficient transpose of list
IDateTime

Integer based date class
address

Address in RAM of a variable
all.equal

Equality Test Between Two Data Tables
as.data.table

Coerce to data.table
as.data.table.xts

Efficient xts to as.data.table conversion
between

Convenience functions for range subsets.
:=

Assignment by reference
as.matrix

Convert a data.table to a matrix
as.xts.data.table

Efficient data.table to xts conversion