Learn R Programming

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

999,142

Version

1.10.0

License

GPL-3 | file LICENSE

Maintainer

Last Published

December 3rd, 2016

Functions in data.table (1.10.0)

dcast.data.table

Fast dcast for data.table
address

Address in RAM of a variable
rbindlist

Makes one data.table from a list of many
rleid

Generate run-length type group id
fread

Fast and friendly file finagler
all.equal

Equality Test Between Two Data Tables
J

Creates a Join data table
IDateTime

Integer based date class
frank

Fast rank
as.data.table.xts

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

data.table Printing Options
patterns

Obtain matching indices corresponding to patterns
as.data.table

Coerce to data.table
timetaken

Pretty print of time taken
transform.data.table

Data table utilities
setcolorder

Fast column reordering of a data.table by reference
setDF

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

strsplit and transpose the resulting list efficiently
tables

Display all objects of class 'data.table'
between

Convenience functions for range subsets.
chmatch

Faster match of character vectors
test.data.table

Runs a set of tests.
as.xts.data.table

Efficient data.table to xts conversion
:=

Assignment by reference
fsort

Fast parallel sort
setDT

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

Fast CSV writer
setkey

Create key on a data table
shouldPrint

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

Last item of an object
copy

Copy an entire object
duplicated

Determine Duplicate Rows
first

First item of an object
data.table-class

S4 Definition for data.table
like

Convenience function for calling regexpr.
foverlaps

Fast overlap joins
rowid

Generate unique row ids within each group
merge

Merge two data.tables
setattr

Set attributes of objects by reference
melt.data.table

Fast melt for data.table
setorder

Fast row reordering of a data.table by reference
setNumericRounding

Change or turn off numeric rounding
na.omit.data.table

Remove rows with missing values on columns specified
setDTthreads

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

Set operations for data tables
special-symbols

Special symbols
transpose

Efficient transpose of list
truelength

Over-allocation access
data.table-package

Enhanced data.frame
datatable.optimize

Optimisations in data.table
subset.data.table

Subsetting data.tables
split

Split data.table into chunks in a list
shift

Fast lead/lag for vectors and lists