DT: An R Interface to the JavaScript library DataTables

RStudio Packages R DT

The R package DT provides an R interface to the JavaScript library DataTables. R data objects (matrices or data frames) can be displayed as tables on HTML pages, and DataTables provides filtering, pagination, sorting, interactivity with Shiny, and many other features.

Javier Orraca (Scatter Podcast)

The DT package for R is a powerful integration of the JavaScript library DataTables. One of the things that I enjoy with DT is enhancing my Shiny apps by rendering interactive tables with DT. The DT documentation, written by RStudio PBC and the DT devs, is incredibly well-written and you’ll learn a lot about how you can use these tables in the development of robust R web apps. And the available Options…. Endless in a good way!

If you’re a Shiny dev, check out the live demos sourced below.



Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".


For attribution, please cite this work as

Orraca (2021, May 3). Javier Orraca: DT: An R Interface to the JavaScript library DataTables. Retrieved from https://www.javierorraca.com/posts/2021-05-03-DT/

BibTeX citation

  author = {Orraca, Javier},
  title = {Javier Orraca: DT: An R Interface to the JavaScript library DataTables},
  url = {https://www.javierorraca.com/posts/2021-05-03-DT/},
  year = {2021}