A Wrapper of the JavaScript Library 'DataTables'


Keywords
datatables, htmlwidgets, javascript, r, r-package, shiny
License
AML

Documentation

An R interface to the DataTables library

R-CMD-check Codecov test coverage 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).

Installation

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

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

# or the development version if necessary
# install.packages("pak")
pak::pak('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.

Please note that due to limited resources, this package is currently in the maintenance-only mode. The only priority is to fix important bugs. We welcome you to submit pull requests to implement new features or fix bugs, but cannot guarantee these pull requests will be reviewed or merged (we will try our best). Thanks for your understanding! BTW, you may also consider other packages for making tables, although DT has a few unique features that are unlikely to be available in other packages.