Skip to content

An R package to create LaTeX and HTML tables, with a friendly, modern interface.

License

Notifications You must be signed in to change notification settings

md0u80c9/huxtable

 
 

Repository files navigation

h u
x
t a
b l e

CRAN Status Badge CRAN Downloads Per Month Travis-CI Build Status AppVeyor Build Status Coverage Status

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.
  • Automatic formatting for knitr/rmarkdown documents.
  • huxreg() function for quick creation of regression tables.
  • Output to Microsoft Word, Excel or Powerpoint using the officer and openxlsx packages.
  • Quick one-liners to print data frames into a new PDF, HTML page or Microsoft 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.

About

An R package to create LaTeX and HTML tables, with a friendly, modern interface.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 67.5%
  • R 19.8%
  • TeX 12.7%