Skip to content

An R package to create styled tables in multiple output formats, with a friendly, modern interface.

License

Notifications You must be signed in to change notification settings

hughjonesd/huxtable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ae62ca1 · Mar 5, 2025
Mar 4, 2025
Mar 4, 2025
May 30, 2020
Jan 4, 2022
Mar 5, 2025
Jun 1, 2020
Mar 4, 2025
Jun 30, 2024
Mar 5, 2025
Mar 5, 2025
Oct 2, 2024
Feb 23, 2018
Jun 14, 2022
Feb 13, 2018
Mar 4, 2025
Oct 2, 2017
Jun 14, 2022
Mar 4, 2025
Mar 4, 2025
Mar 4, 2025
May 16, 2020
Mar 4, 2025
Mar 4, 2025
Jun 30, 2024
Oct 2, 2019
Apr 26, 2017
Mar 5, 2025
Jan 28, 2025
Oct 2, 2024
Aug 2, 2018

Repository files navigation

h
u x
t a
b
l e

R-universe Badge CRAN Status Badge CRAN Downloads Per Month R build status Coverage Status

Huxtable is an R package to create styled tables in multiple output formats, with a friendly, modern interface. Features include:

  • Control over text styling, number format, background colour, borders, padding and alignment.
  • Table cells can span multiple rows and/or columns.
  • Table manipulation via standard R subsetting, or using dplyr.
  • Automatic formatting for knitr/rmarkdown documents.
  • huxreg() function for quick creation of regression tables.
  • Output to HTML, LaTeX, RTF, and Microsoft Word/Excel/Powerpoint, using the officer and openxlsx packages.
  • Quick one-liners to print data frames into a new PDF, HTML page, RTF or Microsoft document.
  • Formatted table display in the R console, including borders, colour, and text styles.

Installing

To install from r-universe:

install.packages("huxtable", repos = c("https://hughjonesd.r-universe.dev", 
                       "https://cloud.r-project.org"))

To install from CRAN:

install.packages('huxtable')

To install the latest version from github:

install.packages('remotes')
remotes::install_github('hughjonesd/huxtable')

Learning more

Check out the website, read the documentation or read the vignette.