Learn R Programming

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

Project overview is on the GitHub Wiki tab, our HOMEPAGE

Copy Link

Version

Install

install.packages('data.table')

Monthly Downloads

815,805

Version

1.9.8

License

GPL-3 | file LICENSE

Maintainer

Matt Dowle

Last Published

November 25th, 2016

Functions in data.table (1.9.8)

as.data.table.xts

Efficient xts to as.data.table conversion
as.xts.data.table

Efficient data.table to xts conversion
as.data.table

Coerce to data.table
data.table-class

S4 Definition for data.table
address

Address in RAM of a variable
:=

Assignment by reference
all.equal

Equality Test Between Two Data Tables
chmatch

Faster match of character vectors
copy

Copy an entire object
between

Convenience functions for range subsets.
datatable.optimize

Optimisations in data.table
dcast.data.table

Fast dcast for data.table
duplicated

Determine Duplicate Rows
first

First item of an object
fwrite

Fast CSV writer
fread

Fast and friendly file finagler
fsort

Fast parallel sort
frank

Fast rank
data.table-package

Enhanced data.frame
foverlaps

Fast overlap joins
last

Last item of an object
like

Convenience function for calling regexpr.
na.omit.data.table

Remove rows with missing values on columns specified
print.data.table

data.table Printing Options
patterns

Obtain matching indices corresponding to patterns
setDTthreads

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

Integer based date class
melt.data.table

Fast melt for data.table
J

Creates a Join data table
merge

Merge two data.tables
setDT

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

Generate unique row ids within each group
setDF

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

Set attributes of objects by reference
rbindlist

Makes one data.table from a list of many
setops

Set operations for data tables
setNumericRounding

Change or turn off numeric rounding
setkey

Create key on a data table
setcolorder

Fast column reordering of a data.table by reference
rleid

Generate run-length type group id
setorder

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

Runs a set of tests.
shouldPrint

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

Fast lead/lag for vectors and lists
timetaken

Pretty print of time taken
special-symbols

Special symbols
subset.data.table

Subsetting data.tables
split

Split data.table into chunks in a list
transform.data.table

Data table utilities
tables

Display all objects of class 'data.table'
transpose

Efficient transpose of list
truelength

Over-allocation access
tstrsplit

strsplit and transpose the resulting list efficiently