From cc4c43e3671ede91092dd6e1333a8bd8f9216eae Mon Sep 17 00:00:00 2001 From: hadley Date: Tue, 8 Dec 2015 06:22:03 -0600 Subject: [PATCH] Fix figure path for functions --- functions.Rmd | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/functions.Rmd b/functions.Rmd index 19b7438..e5a52ad 100644 --- a/functions.Rmd +++ b/functions.Rmd @@ -4,6 +4,13 @@ title: Expressing yourself output: bookdown::html_chapter --- +```{r, include = FALSE} +knitr::opts_chunk$set( + cache = TRUE, + fig.path = "figures/" +) +``` + # Expressing yourself in code Code is a means of communication, not just to the computer, but to other people. This is important because every project you undertake is fundamentally collaborative, and even if you're not working with other people you'll definitely be working with future-you.