Description Usage Arguments Details Value
View source: R/render-beamer.R
Render R Markdown files destined to be Beamer PDF presentations with a double-rendering approach using a LaTeX
engine of your choosing (or pdflatex
, by default), to produce proper slide numbering.
1 | render_beamer(input = NULL, cleanup = FALSE, ...)
|
input |
R Markdown File. See details. |
cleanup |
Logical. Should the intermediate |
... |
Additional named arguments passed to |
This function is a crude solution to the issue whereby R Markdown (.Rmd
) documents being rendered to Beamer PDF presentations fail to render the total number of slides properly. This problem did not exist in previous verions, but currently exists.
Basically, this function renders the R Markdown to Markdown to TeX
with a call to render
. Then, the function uses a LaTeX
engined specified by options(latex.engine = "your/path/here")
or tries pdflatex
, by default. The TeX
file is rendered twice and then opened for viewing.
When specifying the input
for this function, the path included in the input is used for writing any new files (including the final PDF). If only a file name is provided with no path, it is assumed that the current working directory should be used for writing.
Invisibly, the rendered PDF path and file name.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.