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

10,978

Version

0.2.2

License

MIT + file LICENSE

Maintainer

David Hugh-Jones

Last Published

April 27th, 2017

Functions in huxtable (0.2.2)

align

Alignment
as_FlexTable

Convert a huxtable for Word/Powerpoint
cbind.huxtable

Combine rows or columns
col_width

Column widths
colspan

Column span
mutate.huxtable

Dplyr verbs for huxtable
label

Table label
left_border

Borders
background_color

Background color
bold

Cell text style
final

Return the last n rows or columns
font

Font
huxreg

Create a huxtable to display model output
huxtable-package

Huxtable: simply create LaTeX and HTML tables
pad_decimal

Decimal padding
position

Table position
font_size

Font size
guess_knitr_output_format

Guess knitr output format
height

Table height
hux_logo

Huxtable logo
themes

Theme a huxtable
print_html

Create HTML representing a huxtable
[.huxtable

Subset a huxtable
filter

Pointless documentation
rotation

Text rotation
row_height

Row heights
print_latex

Create LaTeX representing a huxtable
print_md

Create Markdown representing a huxtable
print_screen

Print a huxtable on screen
valign

Vertical alignment
rowspan

Row span
rowspecs

Row and column specifications
tabular_environment

Tabular environment
caption

Caption
caption_pos

Caption position
left_border_color

Border colors
left_padding

Cell padding
text_color

Text color
where

Return array indices where expression is true
set_cell_properties

Set multiple cell properties
t.huxtable

Transpose a huxtable
add_colnames

Add column or row names
add_footnote

Add a row with a footnote
escape_contents

Escape cell contents
every

Return every n row or column numbers
huxtable

Create a huxtable
is_a_number

Does an object look like a number?
na_string

NA string
width

Table width
print.huxtable

Default print method for huxtables
report_latex_dependencies

Report LaTeX dependencies
wrap

Text wrapping
number_format

Number format
set_all_border_colors

Set all border colors
set_all_borders

Set all borders