Hack to fix figure rendering for eda & visualize chapters

This commit is contained in:
hadley 2015-12-07 15:57:36 -06:00
parent 457ef3f4bb
commit a2df8718a8
2 changed files with 9 additions and 2 deletions

View File

@ -6,6 +6,10 @@ output: bookdown::html_chapter
```{r, include = FALSE} ```{r, include = FALSE}
library(ggplot2) library(ggplot2)
knitr::opts_chunk$set(
cache = TRUE,
fig.path = "figures/"
)
``` ```
## Exploratory Data Visualization ## Exploratory Data Visualization

View File

@ -4,8 +4,11 @@ title: Data Visualization
output: bookdown::html_chapter output: bookdown::html_chapter
--- ---
```{r setup, include=FALSE, message=FALSE} ```{r setup, include = FALSE}
knitr::opts_chunk$set(cache = TRUE) knitr::opts_chunk$set(
cache = TRUE,
fig.path = "figures/"
)
``` ```
# Visualize Data # Visualize Data