View source: R/kable_as_image.R
kable_as_image | R Documentation |
deprecated
kable_as_image(
kable_input,
filename = NULL,
file_format = "png",
latex_header_includes = NULL,
keep_pdf = FALSE,
density = 300,
keep_tex = FALSE
)
kable_input |
Raw LaTeX code to generate a table. It doesn't have to
came from |
filename |
Character String. If specified, the image will be saved under the specified (path &) name. You don't need to put file format like ".png" here. |
file_format |
Character String to specify image format, such as |
latex_header_includes |
A character vector of extra LaTeX header stuff.
Each element is a row. You can have things like
|
keep_pdf |
A T/F option to control if the mid-way standalone pdf should
be kept. Default is |
density |
Resolution to read the PDF file. Default value is 300, which should be sufficient in most cases. |
keep_tex |
A T/F option to control if the latex file that is initially created
should be kept. Default is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.