data.table v1.11.4


Monthly downloads



Extension of `data.frame`

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.


Overview is on the project's homepage.

Functions in data.table

Name Description
merge Merge two data.tables Fast melt for data.table
datatable.optimize Optimisations in data.table Fast dcast for data.table
last Last item of an object
like Convenience function for calling regexpr.
frank Fast rank
foverlaps Fast overlap joins data.table Printing Options
patterns Obtain matching indices corresponding to patterns
groupingsets Grouping Set aggregation for data tables
J Creates a Join data table
fwrite Fast CSV writer
data.table-class S4 Definition for data.table
tstrsplit strsplit and transpose the resulting list efficiently
data.table-package Enhanced data.frame
copy Copy an entire object
fread Fast and friendly file finagler Perform update of development version of a package
fsort Fast parallel sort Remove rows with missing values on columns specified
chmatch Faster match of character vectors
setDTthreads Set or get number of threads that data.table should use
split Split data.table into chunks in a list
rowid Generate unique row ids within each group
setorder Fast row reordering of a data.table by reference Subsetting data.tables
setDF Coerce a data.table to data.frame by reference
shift Fast lead/lag for vectors and lists
setattr Set attributes of objects by reference
setDT Coerce lists and data.frames to data.table by reference
rleid Generate run-length type group id
setNumericRounding Change or turn off numeric rounding
rbindlist Makes one data.table from a list of many
setops Set operations for data tables
setkey Create key on a data table
shouldPrint For use by packages that mimic/divert auto printing e.g. IRkernel and knitr
setcolorder Fast column reordering of a data.table by reference
timetaken Pretty print of time taken
special-symbols Special symbols Data table utilities
tables Display 'data.table' metadata Runs a set of tests.
truelength Over-allocation access
transpose Efficient transpose of list
all.equal Equality Test Between Two Data Tables Coerce to data.table
between Convenience functions for range subsets. Efficient data.table to xts conversion
:= Assignment by reference Efficient xts to conversion
IDateTime Integer based date class
address Address in RAM of a variable
as.matrix Convert a data.table to a matrix
first First item of an object
duplicated Determine Duplicate Rows
No Results!

Vignettes of data.table

No Results!

Last month downloads


License MPL-2.0 | file LICENSE
VignetteBuilder knitr
ByteCompile TRUE
NeedsCompilation yes
Packaged 2018-05-27 00:01:00.467 UTC; mdowle
Repository CRAN
Date/Publication 2018-05-27 16:34:37 UTC

Include our badge in your README