Package: DT 0.33.1

Joe Cheng

DT: 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'.

Authors:Yihui Xie [aut], Joe Cheng [aut, cre], Xianying Tan [aut], JJ Allaire [ctb], Maximilian Girlich [ctb], Greg Freedman Ellis [ctb], Johannes Rauh [ctb], SpryMedia Limited [ctb, cph], Brian Reavis [ctb, cph], Leon Gersen [ctb, cph], Bartek Szopka [ctb, cph], Alex Pickering [ctb], William Holmes [ctb], Mikko Marttila [ctb], Andres Quintero [ctb], St├ęphane Laurent [ctb], Posit Software, PBC [cph, fnd]

DT.pdf |DT.html
DT/json (API)

# Install DT in R:
install.packages('DT', repos = c('', ''))

Peer review:

Bug tracker:



42 exports 585 stars 12.62 score 34 dependencies 974 dependents 288.5k downloads

Last updated 3 months agofrom:4e63a4664d9caa9fb9d4fb17061ce5eab94bec18



An Introduction to the DT Package

Rendered fromDT.Rmdusingknitr::rmarkdown_notangleon Jun 03 2024.

Last update: 2020-08-05
Started: 2014-12-04

Readme and manuals

Help Manual

Help pageTopics
Coerce a character string to the same type as a target valuecoerceValue
Create an HTML table widget using the DataTables librarydatatable
Register a data object in a shiny session for DataTablesdataTableAjax
Helper functions for using DT in ShinydataTableOutput DTOutput renderDataTable renderDT
Manipulate an existing DataTables instance in a Shiny appaddRow clearSearch colReorder dataTableProxy hideCols reloadData selectCells selectColumns selectPage selectRows showCols updateCaption updateSearch
Server-side searchingdoColumnSearch doGlobalSearch
Objects imported from other packages%>% JS saveWidget
Edit a data object using the information from the editor in a DataTableeditData
Format table columnsformatCurrency formatDate formatPercentage formatRound formatSignif formatString formatStyle
Replace data in an existing tablereplaceData updateFilters
Conditional CSS stylesstyleColorBar styleEqual styleInterval styleRow styleValue
Generate a table header or footer from column namestableFooter tableHeader