data.table v1.11.8


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

Include our badge in your README