Skip to content

Commit

Permalink
Rmarkdown + screenshot fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Aug 22, 2016
1 parent 492007a commit ae0cb9b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 52 deletions.
53 changes: 1 addition & 52 deletions rmarkdown.Rmd
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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")
```
Expand Down
Binary file modified screenshots/rmarkdown-chunk-nav.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ae0cb9b

Please sign in to comment.