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 devtools:

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

# or the development version if necessary
devtools::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

341,744

Version

0.5

License

GPL-3 | file LICENSE

Maintainer

Yihui Xie

Last Published

November 5th, 2018

Functions in DT (0.5)

dataTableAjax

Register a data object in a shiny session for DataTables
dataTableProxy

Manipulate an existing DataTables instance in a Shiny app
datatable

Create an HTML table widget using the DataTables library
replaceData

Replace data in an existing table
formatCurrency

Format table columns
DT-imports

Objects imported from other packages
coerceValue

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

Conditional CSS styles
tableHeader

Generate a table header or footer from column names
dataTableOutput

Helper functions for using DT in Shiny