Learn R Programming

⚠️There's a newer version (1.17.0) 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

910,276

Version

1.10.4

License

GPL-3 | file LICENSE

Maintainer

Matt Dowle

Last Published

February 1st, 2017

Functions in data.table (1.10.4)

as.xts.data.table

Efficient data.table to xts conversion
data.table-class

S4 Definition for data.table
address

Address in RAM of a variable
as.data.table.xts

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

Coerce to data.table
copy

Copy an entire object
:=

Assignment by reference
all.equal

Equality Test Between Two Data Tables
chmatch

Faster match of character vectors
between

Convenience functions for range subsets.
first

First item of an object
fsort

Fast parallel sort
datatable.optimize

Optimisations in data.table
duplicated

Determine Duplicate Rows
frank

Fast rank
dcast.data.table

Fast dcast for data.table
foverlaps

Fast overlap joins
fread

Fast and friendly file finagler
data.table-package

Enhanced data.frame
fwrite

Fast CSV writer
print.data.table

data.table Printing Options
like

Convenience function for calling regexpr.
IDateTime

Integer based date class
merge

Merge two data.tables
J

Creates a Join data table
patterns

Obtain matching indices corresponding to patterns
last

Last item of an object
na.omit.data.table

Remove rows with missing values on columns specified
setDTthreads

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

Fast melt for data.table
rowid

Generate unique row ids within each group
rbindlist

Makes one data.table from a list of many
setNumericRounding

Change or turn off numeric rounding
setattr

Set attributes of objects by reference
setops

Set operations for data tables
rleid

Generate run-length type group id
setDT

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

Create key on a data table
setcolorder

Fast column reordering of a data.table by reference
setDF

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

Fast row reordering of a data.table by reference
shouldPrint

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

Fast lead/lag for vectors and lists
transpose

Efficient transpose of list
special-symbols

Special symbols
tables

Display all objects of class 'data.table'
truelength

Over-allocation access
test.data.table

Runs a set of tests.
timetaken

Pretty print of time taken
tstrsplit

strsplit and transpose the resulting list efficiently
split

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

Data table utilities
subset.data.table

Subsetting data.tables