Learn R Programming

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

An R interface to the DataTables library

This package provides a function datatable() to display R data via the DataTables library (N.B. not to be confused with the data.table package).

Installation

You may install the stable version from CRAN, or the development version using remotes:

# install from CRAN
install.packages('DT')

# or the development version if necessary
remotes::install_github('rstudio/DT')

# then try DT::datatable(iris) as a hello world example

See the full documentation at https://rstudio.github.io/DT/. Please use Github issues only if you want to file bug reports or feature requests, and you are expected to ask questions on StackOverflow with at least the tags r and dt.

Copy Link

Version

Install

install.packages('DT')

Monthly Downloads

349,777

Version

0.16

License

GPL-3 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Yihui Xie

Last Published

October 13th, 2020

Functions in DT (0.16)

dataTableProxy

Manipulate an existing DataTables instance in a Shiny app
styleInterval

Conditional CSS styles
replaceData

Replace data in an existing table
formatCurrency

Format table columns
datatable

Create an HTML table widget using the DataTables library
editData

Edit a data object using the information from the editor in a DataTable
dataTableOutput

Helper functions for using DT in Shiny
dataTableAjax

Register a data object in a shiny session for DataTables
DT-imports

Objects imported from other packages
coerceValue

Coerce a character string to the same type as a target value
tableHeader

Generate a table header or footer from column names