data.table v1.10.0


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

Last month downloads


License GPL-3 | file LICENSE
VignetteBuilder knitr
ByteCompile TRUE
NeedsCompilation yes
Packaged 2016-12-02 19:25:45.346 UTC; mdowle
Repository CRAN
Date/Publication 2016-12-03 11:05:23

Include our badge in your README