Learn R Programming

⚠️There's a newer version (1.17.0) of this package.Take me there.

data.table (version 1.0)

Just like a data.frame but without rownames, up to 10 times faster, up to 10 times less memory

Description

This package does very little. The only reason for its existence is that the white book specifies that data.frame must have rownames. This package defines a new class data.table which operates just like a data.frame, but uses up to 10 times less memory, and can be up to 10 times faster to create (and copy). It also takes the opportunity to allow subset() and with() like expressions inside the []. Most of the code is copied from base functions with the code manipulating row.names removed.

Copy Link

Version

Install

install.packages('data.table')

Monthly Downloads

1,037,494

Version

1.0

License

GPL

Maintainer

Matt Dowle

Last Published

February 22nd, 2025

Functions in data.table (1.0)

as.matrix.data.table

~~function to do ... ~~
rbind.data.table

~~function to do ... ~~
print.data.table

~~function to do ... ~~
as.data.frame.data.table

~~function to do ... ~~
as.data.table.data.table

~~function to do ... ~~
cbind.data.table

~~function to do ... ~~
last

Last item of an object
as.data.table.matrix

~~function to do ... ~~
dimnames<-.data.table

~~function to do ... ~~
is.data.table

~~function to do ... ~~
[<-.data.table

~~function to do ... ~~
subset.data.table

~~function to do ... ~~
[.data.table

~~function to do ... ~~
tables

Lists all objects of class 'data.table'
as.data.table.data.frame

~~function to do ... ~~
dimnames.data.table

~~function to do ... ~~
tail.data.table

~~function to do ... ~~
as.data.table

~~function to do ... ~~
NROW

~~function to do ... ~~
NCOL

~~function to do ... ~~
data.table

Just like a data.frame, but without row names
dim.data.table

~~function to do ... ~~
dt

data.table support functions
head.data.table

~~function to do ... ~~