DT v0.4


Monthly downloads



A Wrapper of the JavaScript Library 'DataTables'

Data objects in R can be rendered as HTML tables using the JavaScript library 'DataTables' (typically via R Markdown or Shiny). The 'DataTables' library has been included in this R package. The package name 'DT' is an abbreviation of 'DataTables'.


An R interface to the DataTables library

Build Status Downloads from the RStudio CRAN mirror

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


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

# install from CRAN

# or the development version if necessary

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

Functions in DT

Name Description
styleInterval Conditional CSS styles
DT-imports Objects imported from other packages
coerceValue Coerce a character string to the same type as a target value
dataTableAjax Register a data object in a shiny session for DataTables
dataTableOutput Helper functions for using DT in Shiny
dataTableProxy Manipulate an existing DataTables instance in a Shiny app
replaceData Replace data in an existing table
datatable Create an HTML table widget using the DataTables library
formatCurrency Format table columns
tableHeader Generate a table header or footer from column names
No Results!

Vignettes of DT

No Results!

Last month downloads


Type Package
URL https://rstudio.github.io/DT
BugReports https://github.com/rstudio/DT/issues
License GPL-3 | file LICENSE
VignetteBuilder knitr
RoxygenNote 6.0.1
NeedsCompilation no
Packaged 2018-01-30 21:06:51 UTC; yihui
Repository CRAN
Date/Publication 2018-01-30 22:54:05 UTC

Include our badge in your README