data.table v1.10.2


Monthly downloads



by Matt Dowle

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, a fast friendly file reader and parallel file writer. Offers a natural and flexible syntax, for faster development.


Project overview is on the GitHub Wiki tab, our HOMEPAGE

Functions in data.table

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

Last month downloads


License GPL-3 | file LICENSE
VignetteBuilder knitr
ByteCompile TRUE
NeedsCompilation yes
Packaged 2017-01-31 10:41:32.500 UTC; mdowle
Repository CRAN
Date/Publication 2017-01-31 16:09:23

Include our badge in your README