DT v0.9


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
tableHeader Generate a table header or footer from column names
datatable Create an HTML table widget using the DataTables library
editData Edit a data object using the information from the editor in a DataTable
dataTableAjax Register a data object in a shiny session for DataTables
dataTableOutput Helper functions for using DT in Shiny
formatCurrency Format table columns
dataTableProxy Manipulate an existing DataTables instance in a Shiny app
coerceValue Coerce a character string to the same type as a target value
DT-imports Objects imported from other packages
styleInterval Conditional CSS styles
replaceData Replace data in an existing table
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.1.1
Encoding UTF-8
NeedsCompilation no
Packaged 2019-09-17 04:12:43 UTC; yihui
Repository CRAN
Date/Publication 2019-09-17 09:10:10 UTC

Include our badge in your README