Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hughjonesd/huxtable
An R package to create styled tables in multiple output formats, with a friendly, modern interface.
https://github.com/hughjonesd/huxtable
cran html huxtable latex microsoft-word powerpoint r reproducible-research tables
Last synced: 5 days ago
JSON representation
An R package to create styled tables in multiple output formats, with a friendly, modern interface.
- Host: GitHub
- URL: https://github.com/hughjonesd/huxtable
- Owner: hughjonesd
- License: other
- Created: 2017-02-24T11:29:06.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-01-28T14:22:21.000Z (21 days ago)
- Last Synced: 2025-02-07T09:04:32.305Z (12 days ago)
- Topics: cran, html, huxtable, latex, microsoft-word, powerpoint, r, reproducible-research, tables
- Language: HTML
- Homepage: http://hughjonesd.github.io/huxtable
- Size: 33.8 MB
- Stars: 323
- Watchers: 13
- Forks: 28
- Open Issues: 25
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - hughjonesd/huxtable - An R package to create styled tables in multiple output formats, with a friendly, modern interface. (HTML)
README
---
output: github_document
---```{r, echo = FALSE, results = 'asis'}
suppressPackageStartupMessages(suppressWarnings(library(huxtable)))
print_html(hux_logo())```
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
echo = TRUE,
comment = "#>",
fig.path = "README-"
)
```[](https://hughjonesd.r-universe.dev/huxtable)
[](https://cran.r-project.org/package=huxtable)
[](https://CRAN.R-project.org/package=huxtable)
[](https://github.com/hughjonesd/huxtable/actions)
[](https://app.codecov.io/github/hughjonesd/huxtable?branch=master)
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](https://r-universe.dev):
```{r, eval = FALSE}
install.packages("huxtable", repos = c("https://hughjonesd.r-universe.dev",
"https://cloud.r-project.org"))
```To install from CRAN:
```{r, eval = FALSE}
install.packages('huxtable')
```To install the latest version from github:
```{r, eval = FALSE}
install.packages('remotes')
remotes::install_github('hughjonesd/huxtable')
```# Learning more
Check out [the website](https://hughjonesd.github.io/huxtable/), read the
[documentation](https://hughjonesd.github.io/huxtable/reference/index.html) or
read the vignette in [HTML](https://hughjonesd.github.io/huxtable/huxtable-html.html)
or [PDF](https://hughjonesd.github.io/huxtable/huxtable-pdf.pdf).