to_pdf | R Documentation |
I only modified the name because I never remember how to spell xaringan
to_pdf(input, output_file = NULL, delay = 1, include_partial_slides = FALSE)
input |
Path to Rmd or html file of xaringan slides. |
output_file |
The name of the output file. If using NULL then the output filename will be based on filename for the input file. If a filename is provided, a path to the output file can also be provided. |
delay |
Seconds of delay between advancing to and printing a new slide. |
include_partial_slides |
Should partial (continuation) slides be
included in the output? If |
Prints xaringan slides to a PDF file, even complicated slides with panelsets or other html widgets or advanced features. Requires a local installation of Chrome.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.