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

Include our badge in your README