quick-output

0th

Percentile

Quickly create a PDF, HTML, Word or Excel document showing matrices, data frames, et cetera.

Quickly create a PDF, HTML, Word or Excel document showing matrices, data frames, et cetera.

Usage
quick_pdf(..., file = confirm("huxtable-output.pdf"), borders = 0.4)

quick_html(..., file = confirm("huxtable-output.html"), borders = 0.4)

quick_docx(..., file = confirm("huxtable-output.docx"), borders = 0.4)

quick_xlsx(..., file = confirm("huxtable-output.xlsx"), borders = 0.4)

Arguments
...

One or more huxtables or R objects with an as_huxtable method.

file

File path for the output.

borders

Border width for members of ... that are not huxtables.

Details

Objects in ... will be converted to huxtables, with borders added.

If ‘file’ is not specified, the default file path is "huxtable-output.xxx" in the working directory. If the session is interactive, you'll be asked to confirm any overwrite; if the session is not interactive, the command will fail.

Value

Invisible NULL.

Aliases
  • quick-output
  • quick_pdf
  • quick_html
  • quick_docx
  • quick_xlsx
Examples
# NOT RUN {
m <- matrix(1:4, 2, 2)
dfr <- data.frame(a = 1:5, b = 1:5)
quick_pdf(m, dfr)
quick_html(m, dfr)
quick_docx(m, dfr)
quick_xlsx(m, dfr)
# }
Documentation reproduced from package huxtable, version 3.0.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.