⚠️There's a newer version (5.5.6) of this package. Take me there.

Huxtable is an R package for creating HTML and LaTeX tables. It provides similar functionality to xtable, but does more, with a simpler 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.
  • huxreg() function for quick creation of regression tables.
  • Output to Microsoft Word or Powerpoint using the officer package.
  • quick_pdf(), quick_docx() and quick_html() one-liners to print data frames into a new document.
  • Formatted table display in the R console, including borders, colour, and text styles.

Installing

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 in HTML or PDF.

Copy Link

Version

Down Chevron

Install

install.packages('huxtable')

Monthly Downloads

9,096

Version

3.0.0

License

MIT + file LICENSE

Last Published

February 23rd, 2018

Functions in huxtable (3.0.0)