Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

kable_as_image

Deprecated


Description

deprecated

Usage

kable_as_image(
  kable_input,
  filename = NULL,
  file_format = "png",
  latex_header_includes = NULL,
  keep_pdf = FALSE,
  density = 300,
  keep_tex = FALSE
)

Arguments

kable_input

Raw LaTeX code to generate a table. It doesn't have to came from kable or kableExtra.

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 png, jpeg, gif, tiff, etc. Default is png.

latex_header_includes

A character vector of extra LaTeX header stuff. Each element is a row. You can have things like c("\\\\usepackage{threeparttable}", "\\\\usepackage{icons}") You could probably add your language package here if you use non-English text in your table, such as \\\\usepackage[magyar]{babel}.

keep_pdf

A T/F option to control if the mid-way standalone pdf should be kept. Default is FALSE.

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 FALSE.


kableExtra

Construct Complex Table with 'kable' and Pipe Syntax

v1.3.4
MIT + file LICENSE
Authors
Hao Zhu [aut, cre] (<https://orcid.org/0000-0002-3386-6076>), Thomas Travison [ctb], Timothy Tsai [ctb], Will Beasley [ctb], Yihui Xie [ctb], GuangChuang Yu [ctb], Stéphane Laurent [ctb], Rob Shepherd [ctb], Yoni Sidi [ctb], Brian Salzer [ctb], George Gui [ctb], Yeliang Fan [ctb], Duncan Murdoch [ctb], Bill Evans [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.