diff --git a/rmarkdown.Rmd b/rmarkdown.Rmd index 085becf..2ec515f 100644 --- a/rmarkdown.Rmd +++ b/rmarkdown.Rmd @@ -1,54 +1,3 @@ -```{r include=FALSE, cache=FALSE} -set.seed(1014) -options(digits = 3) - -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) -``` -```{r include=FALSE, cache=FALSE} -set.seed(1014) -options(digits = 3) - -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) -``` -```{r include=FALSE, cache=FALSE} -set.seed(1014) -options(digits = 3) - -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) -``` # R Markdown ## Introduction @@ -184,7 +133,7 @@ Chunks can be given an optional name: ```` ```{r by-name} ````. This has three a 1. You can more easily navigate to specific chunks using the drop-down code navigator in the bottom-left of the script editor: - ```{r, echo = FALSE, out.width = NULL} + ```{r, echo = FALSE, out.width = "30%"} knitr::include_graphics("screenshots/rmarkdown-chunk-nav.png") ``` diff --git a/screenshots/rmarkdown-chunk-nav.png b/screenshots/rmarkdown-chunk-nav.png index e690fd7..aefa9f3 100644 Binary files a/screenshots/rmarkdown-chunk-nav.png and b/screenshots/rmarkdown-chunk-nav.png differ