Create folder with .Rnw presentation template and fig_extern folder.
createPres(
presname = "pres",
dir = "presentation",
path = ".",
asp = 169,
navbullets = FALSE,
bgblack = FALSE,
open = TRUE
)
Name of .Rnw file to be created. DEFAULT: "pres"
Name of directory that will contain .Rnw file and
fig_extern folder. "_1" will be appended if already existing,
see newFilename
. DEFAULT: "presentation"
Location of dir
. Passed to setwd
.
DEFAULT: "."
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)
Logical: include navigation slide bullet points in header? This only takes effect when there are subsections. DEFAULT: FALSE
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
Logical: run openFile
? DEFAULT: TRUE
Berry Boessenkool, berry-b@gmx.de, Mar 2017
createFun
if (FALSE) {
createPres("Berry_Conference")
}
Run the code above in your browser using DataLab