Description Usage Arguments Value Suggestion References See Also Examples
Generate a presentation template to increase efficiency. This is a lighter
weight version of new_report
that focuses on the
presentation.
1 2 3 4 5 6 | presentation(presentation = "presentation", type = c("rnw", "rmd"),
theme = "Madrid", bib.loc = getOption("bib.loc"),
name = getOption("name.reports"), github.user = getOption("github.user"),
sources = getOption("sources.reports"), path = getwd(),
present = getOption("present.template"), open = is.global(2),
github = FALSE, ...)
|
presentation |
A character vector of length two or one: (1) the main directory
name and (2) sub directory names (i.e., all the file contents will be
imprinted with this name). If the length of |
type |
A vector of the file format types. Any combination of the following:
|
theme |
Beamer theme
to use. If |
bib.loc |
Optional path to a .bib resource. |
name |
A character vector of the user's name to be used on the report. |
github.user |
GitHub user name (character string). |
sources |
A vector of path(s) to other scripts to be sourced in the
report project upon startup (adds this location to the report project's
|
path |
The path to where the project should be created. Default is the current working directory. |
present |
The template to be used in the PRESENTATION
.Rmd/.Rpres. This can be one of the types from |
open |
logical. If |
github |
logical. If |
... |
Other arguments passed to |
Creates a presentation template.
The user may want to set options
for
bib.loc
, github.user
, name.reports
sources.reports
,slidify.template
and reveraljs.loc
in
the user's primary .Rprofile
:
bib.loc - The path to the user's primary bibliography
github.user - GitHub user name
name.reports - The name to use on reports
sources.reports - Path(s) to additional files/scripts that should be included to be sourced in the project startup
slidify.template - Path to, or defualt, .Rmd file tempalte for
use in as the .Rmd used in the slidify presentations (see
slidify_templates
for possible non-path arguments)
slidify examples
RStudio presentations
new_report
,
slidify_templates
,
author
Installation section of reveal.js GitHub
1 | ## presentation("New")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.