huxtable: Easily Create and Style Tables for LaTeX, HTML and Other Formats

Creates styled tables for data presentation. Export to HTML, LaTeX, RTF, 'Word', 'Excel', 'PowerPoint', 'typst', SVG and PNG. Simple, modern interface to manipulate borders, size, position, captions, colours, text styles and number formatting. Table cells can span multiple rows and/or columns. Includes a 'huxreg' function to create regression tables, and 'quick_*' one-liners to print tables to a new document.

Version: 5.8.0
Depends: R (≥ 2.10)
Imports: assertthat, base64enc, commonmark, fansi, generics, glue, htmltools, memoise, R6, rlang, stats, stringi, stringr (≥ 1.2.0), tidyselect, utils, xml2
Suggests: AER, bookdown, broom (≥ 0.5.1), broom.mixed, covr, crayon, devtools, dplyr (≥ 0.7.0), flextable (≥ 0.6.9), ftExtra (≥ 0.0.2), ggplot2, httr, knitr, lme4, lmtest, lintr, nlme, nnet, officer, openxlsx, psych, quarto, rmarkdown, sandwich, scales, styler, testthat, tibble, tinytex
Published: 2025-11-07
DOI: 10.32614/CRAN.package.huxtable
Author: David Hugh-Jones [aut, cre]
Maintainer: David Hugh-Jones <davidhughjones at gmail.com>
BugReports: https://github.com/hughjonesd/huxtable/issues
License: MIT + file LICENSE
URL: https://hughjonesd.github.io/huxtable/
NeedsCompilation: no
SystemRequirements: LaTeX packages: adjustbox, array, calc, caption, colortbl, fontspec, graphicx, hhline, hyperref, multirow, siunitx, tabularx, threeparttable, ulem, wrapfig
Materials: README, NEWS
In views: MixedModels, ReproducibleResearch
CRAN checks: huxtable results

Documentation:

Reference manual: huxtable.html , huxtable.pdf
Vignettes: Regression Tables with huxreg (source, R code)
Introduction to huxtable (source, R code)

Downloads:

Package source: huxtable_5.8.0.tar.gz
Windows binaries: r-devel: huxtable_5.7.0.zip, r-release: huxtable_5.7.0.zip, r-oldrel: not available
macOS binaries: r-release (arm64): huxtable_5.8.0.tgz, r-oldrel (arm64): huxtable_5.8.0.tgz, r-release (x86_64): huxtable_5.8.0.tgz, r-oldrel (x86_64): huxtable_5.8.0.tgz
Old sources: huxtable archive

Reverse dependencies:

Reverse depends: homnormal, pubh, RSStest
Reverse imports: bpmnR, experiences, pharmaRTF, safetyCharts, spatialRF, surveytable, tidytlg, uxr
Reverse suggests: accessr, brickster, expss, formatters, glmmTMB, gtsummary, interactions, ipsRdbs, jtools, modelsummary, texreg, Tplyr

Linking:

Please use the canonical form https://CRAN.R-project.org/package=huxtable to link to this page.