View source: R/zz-api-file-output-utils.R
html_pdf_converter | R Documentation |
If html2pdfr is installed it will use that by default, if not it will fall back to a headless chrome instance.
html_pdf_converter(html, filename, maxWidth, maxHeight)
html |
the html fragment |
filename |
the pdf filename |
maxWidth |
the maximum page width in inches |
maxHeight |
the maximum page height in inches |
nothing called for side effects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.