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.17

License

GPL-3 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Yihui Xie

Last Published

January 6th, 2021

Functions in DT (0.17)

dataTableAjax

Register a data object in a shiny session for DataTables
styleInterval

Conditional CSS styles
editData

Edit a data object using the information from the editor in a DataTable
DT-imports

Objects imported from other packages
replaceData

Replace data in an existing table
datatable

Create an HTML table widget using the DataTables library
formatCurrency

Format table columns
dataTableOutput

Helper functions for using DT in Shiny
coerceValue

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

Generate a table header or footer from column names
dataTableProxy

Manipulate an existing DataTables instance in a Shiny app