DT v0.2


Monthly downloads



by Yihui Xie

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

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 http://rstudio.github.io/DT. Please use Github issues if you want to file bug reports or feature requests, and you may use StackOverflow or the shiny-discuss mailing list to ask questions.

Functions in DT

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

Last month downloads


Type Package
Date 2016-08-08
URL http://rstudio.github.io/DT
BugReports https://github.com/rstudio/DT/issues
License GPL-3 | file LICENSE
VignetteBuilder knitr
RoxygenNote 5.0.1
NeedsCompilation no
Packaged 2016-08-09 04:06:45 UTC; yihui
Repository CRAN
Date/Publication 2016-08-09 11:41:46

Include our badge in your README