DT v0.1


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
install.packages('DT', repos = 'http://cran.rstudio.com')

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

Functions in DT

Name Description
dataTableAjax Register a data object in a shiny session for DataTables
datatable Create an HTML table widget using the DataTables library
tableHeader Generate a table header or footer from column names
DT-imports Objects imported from other packages
copySWF Copy the Flash SWF file from the TableTools extension
formatCurrency Format table columns
styleInterval Conditional CSS styles
dataTableOutput Helper functions for using DT in Shiny
No Results!

Last month downloads


Type Package
Date 2015-06-08
URL http://rstudio.github.io/DT
BugReports https://github.com/rstudio/DT/issues
License GPL-3 | file LICENSE
VignetteBuilder knitr
NeedsCompilation no
Packaged 2015-06-08 22:37:56 UTC; yihui
Repository CRAN
Date/Publication 2015-06-09 07:47:04

Include our badge in your README