4  Tables Packages

4.1 R Packages

4.1.1 gt package

  • Here is a good description

  • The gt philosophy: we can construct a wide variety of useful tables with a cohesive set of table parts. These include the table header, the stub, the column labels and spanner column labels, the table body, and the table footer.

  • install.packages(“gt”)

  • 4.1.1.1 Packages that use or extend gt

    There are several R packages that either use gt to generate tabular outputs or extend gt in amazing ways. Here is a short list of some of these great packages:

4.1.2 reactable

  • Here is a good description
  • install.packages(“reactable”)

4.1.3 flextable

  • Here is the good description
  • There is a good book describing flextable package and officer package by David Gohelfrom ArData he presented at R Pharma 2025

4.1.4 tinytable

4.2 Python Packages