[ Web Proxy ]
URL:
Viewing: https://rdatatable.gitlab.io/data.table/reference/../index.html [Back]  [Original]

data.table
data.table 1.18.99

data.table

CRAN status [CRAN status] R-CMD-check [R-CMD-check] Codecov test coverage [Codecov test coverage] GitLab CI build status [GitLab CI build status] downloads [downloads] CRAN usage [CRAN usage] BioC usage [BioC usage] indirect usage [indirect usage] Powered by NumFOCUS [Powered by NumFOCUS]

data.table provides a high-performance version of base Rs data.frame with syntax and feature enhancements for ease of use, convenience and programming speed.

The data.table project uses a custom governance agreement and is fiscally sponsored by NumFOCUS. Consider making a tax-deductible donation to help the project pay for developer time, professional services, travel, workshops, and a variety of other needs.

numfocus-logo.png [numfocus-logo.png]

Why data.table?

Features

Installation

install.packages("data.table")

# latest development version (only if newer available)
data.table::update_dev_pkg()

# latest development version (force install)
install.packages("data.table", repos="https://rdatatable.gitlab.io/data.table")

See the Installation wiki for more details.

Usage

Use data.table subset [ operator the same way you would use data.frame one, but

library(data.table)
DT = as.data.table(iris)

# FROM[WHERE, SELECT, GROUP BY]
# DT  [i,     j,      by]

DT[Petal.Width > 1.0, mean(Petal.Length), by = Species]
#      Species       V1
#1: versicolor 4.362791
#2:  virginica 5.552000

Getting started

Cheatsheets

datatable.png [datatable.png]

Community

data.table is widely used by the R community. It is being directly used by hundreds of CRAN and Bioconductor packages, and indirectly by thousands. It is one of the top most starred R packages on GitHub, and was highly rated by the Depsy project. If you need help, the data.table community is active on StackOverflow.

A list of packages that significantly support, extend, or make use of data.table can be found in the Seal of Approval document.

Stay up-to-date

Contributing

Guidelines for filing issues / pull requests: Contribution Guidelines.

Citation

Barrett T, Dowle M, Srinivasan A, Gorecki J, Chirico M, Hocking T, Schwendinger B, Krylov I (2026). data.table: Extension of data.frame. R package version 1.18.99, https://r-datatable.com.

@Manual{,
  title = {data.table: Extension of `data.frame`},
  author = {Tyson Barrett and Matt Dowle and Arun Srinivasan and Jan Gorecki and Michael Chirico and Toby Hocking and Benjamin Schwendinger and Ivan Krylov},
  year = {2026},
  note = {R package version 1.18.99},
  url = {https://r-datatable.com},
}

Developed by Tyson Barrett, Matt Dowle, Arun Srinivasan, Jan Gorecki, Michael Chirico, Toby Hocking, Benjamin Schwendinger and Ivan Krylov

Site built with litedown


Web Proxy Viewer  |  New URL  |  Original Page