Description Usage Arguments Value Suggestion Additional Guide References See Also Examples
Generate a report/paper template to increase efficiency.
1 2 3 4 5 6 | new_report(report = "report", template = getOption("temp.reports"),
bib.loc = getOption("bib.loc"), name = getOption("name.reports"),
github.user = getOption("github.user"),
sources = getOption("sources.reports"), path = getwd(), AN.xlsx = TRUE,
present = getOption("present.template"), open = is.global(2),
github = FALSE, ...)
|
report |
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 |
template |
A character string of the internal reports template or an
external path to a template in the reports package style. This argument
allows the user to change the contents of the report directory that is
generated. See |
bib.loc |
Optional path to a .bib resource. |
name |
A character string 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 .Rprofile). |
path |
The path to where the project should be created. Default is the current working directory. |
AN.xlsx |
logical. If |
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 report template.
The user may want to set options
for
bib.loc
, github.user
, name.reports
sources.reports
,present.template
and revealjs.loc
in
the user's primary .Rprofile
:
bib.loc - The path to the users primary bibliography
name.reports - The name to use on reports
temp.reports - The primary template to use to generate reports
(see template
)
github.user - GitHub user name
speed.temp - A speed dial like interface that allows the
template argument to take a numeric arguement. Setting this option takes
the form of:
options(speed.temp=list(`1`="wordpress_rmd", `2`="basic_rmd"))
sources.reports - Path(s) to additional files/scripts that should be included to be sourced in the project startup
present.template - Path to, or defualt, .Rmd/.Rpres file template for
use in as the .Rmd/.Rpres used in the PRESENTATION directory (see
slidify_templates
for possible non-path arguments)
Introductory video http://www.youtube.com/watch?v=ArHQjQyIS70
slidify examples
RStudio presentations
doc_temp
,
presentation
,
templates
,
slidify_templates
,
author
Installation section of reveal.js GitHub
1 2 3 4 5 6 7 | ## new_report()
## fx <- folder(delete_me)
## owd <- getwd(); setwd(fx)
## x <- rdirs(admin, 1:15, c("d", "f", "w"), c(1, 4, 6), text.only = TRUE)
## lapply(x, new_report)
## setwd(owd); delete(fx)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.