r4ds/_common.R

22 lines
366 B
R

set.seed(1014)
knitr::opts_chunk$set(
comment = "#>",
collapse = TRUE,
# cache = TRUE,
out.width = "70%",
fig.align = 'center',
fig.width = 6,
fig.asp = 0.618, # 1 / phi
fig.show = "hold"
)
options(dplyr.print_min = 6, dplyr.print_max = 6)
# Activate crayon output
options(
crayon.enabled = TRUE,
pillar.bold = TRUE,
stringr.html = FALSE
)