Learn R Programming

⚠️There's a newer version (5.6.0) 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.

Installing

To install from CRAN:

install.packages('huxtable')

To install from github:

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

Learning more

Check out the website, or read the vignette in HTML or PDF.

Copy Link

Version

Install

install.packages('huxtable')

Monthly Downloads

8,928

Version

0.2.0

License

MIT + file LICENSE

Maintainer

David Hugh-Jones

Last Published

April 21st, 2017

Functions in huxtable (0.2.0)

add_colnames

Add column or row names
add_footnote

Add a row with a footnote
font

Font
font_size

Font size
position

Table position
print.huxtable

Default print method for huxtables
text_color

Text color
themes

Theme a huxtable
cbind.huxtable

Combine rows or columns
col_width

Column widths
[.huxtable

Subset a huxtable
final

Return the last n rows or columns
hux_logo

Huxtable logo
huxreg

Create a huxtable to display model output
background_color

Background color
bold

Cell text style
escape_contents

Escape cell contents
every

Return every n row or column numbers
left_border

Borders
left_border_color

Border colors
number_format

Number format
pad_decimal

Decimal padding
print_html

Create HTML representing a huxtable
print_latex

Create LaTeX representing a huxtable
valign

Vertical alignment
caption

Caption
caption_pos

Caption position
left_padding

Cell padding
where

Return array indices where expression is true
na_string

NA string
row_height

Row heights
rowspan

Row span
set_all_borders

Set all borders
set_cell_properties

Set multiple cell properties
width

Table width
wrap

Text wrapping
align

Alignment
as_FlexTable

Convert a huxtable for Word/Powerpoint
colspan

Column span
mutate_.huxtable

Dplyr verbs for huxtable
is_a_number

Does an object look like a number?
label

Table label
report_latex_dependencies

Report LaTeX dependencies
rotation

Text rotation
print_md

Create Markdown representing a huxtable
print_screen

Print a huxtable on screen
guess_knitr_output_format

Guess knitr output format
height

Table height
huxtable-package

Huxtable: simply create LaTeX and HTML tables
huxtable

Create a huxtable
rowspecs

Row and column specifications
set_all_border_colors

Set all border colors
t.huxtable

Transpose a huxtable
tabular_environment

Tabular environment