| quick-output {huxtable} | R Documentation |
Quickly create a PDF, HTML, Word or Excel document showing matrices, data frames, et cetera.
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)
... |
One or more huxtables or R objects with an |
file |
File path for the output. |
borders |
Border width for members of |
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.
Invisible NULL.
## 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) ## End(Not run)