Create folder with .Rnw presentation template and fig_extern folder.
Usage
createPres(
presname = "pres",
dir = "presentation",
path = ".",
asp = 169,
navbullets = FALSE,
bgblack = FALSE,
open = TRUE
)
Arguments
presname
Name of .Rnw file to be created. DEFAULT: "pres"
dir
Name of directory that will contain .Rnw file and
fig_extern folder. "_1" will be appended if already existing,
see newFilename. DEFAULT: "presentation"
Number to set as aspectratio. 43 for old 4:3 format.
Possible values: 169, 1610, 149, 54, 43, 32.
note: if you set this, remember to change the default fig.width.
DEFAULT: 169 (16:9 format)
navbullets
Logical: include navigation slide bullet points in header?
This only takes effect when there are subsections.
DEFAULT: FALSE
bgblack
Logical: set a black background instead of a white one?
Requires all R graphics fg and bg colors to be changed!
See "How to avoid death By PowerPoint" at 11:49 minutes
https://youtu.be/Iwpi1Lm6dFo?t=11m49s.
Change colors manually in the Rnw files searching for
bg=, linkcolor=, urlcolor=
in the preamble and color right after begin document.
DEFAULT bgblack: FALSE