data.table v1.12.0


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

Vignettes of data.table

No Results!

Last month downloads


License MPL-2.0 | file LICENSE
VignetteBuilder knitr
ByteCompile TRUE
NeedsCompilation yes
Packaged 2019-01-12 04:09:37.913 UTC; mdowle
Repository CRAN
Date/Publication 2019-01-13 11:50:03 UTC

Include our badge in your README