data.table v1.11.6


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

Include our badge in your README