Learn R Programming

huxtable (version 5.5.7)

guess_knitr_output_format: Guess knitr output format

Description

Convenience function which tries to guess the ultimate output from knitr and rmarkdown.

Usage

guess_knitr_output_format()

Arguments

Value

"html", "latex", or something else. If we are not in a knitr document, returns an empty string.

Examples

Run this code
if (FALSE) {
# in a knitr document
guess_knitr_output_format()
}

Run the code above in your browser using DataLab