Rmarkdown + screenshot fixes
This commit is contained in:
parent
492007afca
commit
ae0cb9b7f7
|
@ -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
|
# R Markdown
|
||||||
|
|
||||||
## Introduction
|
## 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
|
1. You can more easily navigate to specific chunks using the drop-down
|
||||||
code navigator in the bottom-left of the script editor:
|
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")
|
knitr::include_graphics("screenshots/rmarkdown-chunk-nav.png")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 34 KiB |
Loading…
Reference in New Issue