beamer_presentation(toc = FALSE, slide_level = NULL, incremental = FALSE,
fig_width = 10, fig_height = 7, fig_crop = TRUE, fig_caption = FALSE,
theme = "default", colortheme = "default", fonttheme = "default",
highlight = "default", template = "default", keep_tex = FALSE,
includes = NULL, pandoc_args = NULL)
TRUE
to include a table of contents in the output (only
level 1 headers will be included in the table of contents).TRUE
to render slide bullets incrementally. Note
that if you want to reverse the default incremental behavior for an
individual bullet you can preceded it with >
. For example:
> - Bullet Text
TRUE
to automatically apply the pdfcrop
utility
(if available) to pdf figuresTRUE
to render figures with captionsNULL
to prevent syntax highlighting.NULL
to use pandoc's
built-in template; pass a path to use a custom template that you've
created. See the documentation on
includes
function).render
For more information on markdown syntax for presentations see
R Markdown documents can have optional metadata that is used to generate a document header that includes the title, author, and date. For more details see the documentation on R Markdown metadata.
R Markdown documents also support citations. You can find more information on
the markdown syntax for citations within the pandoc documentation on
library(rmarkdown)
# simple invocation
render("pres.Rmd", beamer_presentation())
# specify an option for incremental rendering
render("pres.Rmd", beamer_presentation(incremental = TRUE))
Run the code above in your browser using DataLab