Last active
September 9, 2018 12:14
-
-
Save cfljam/1354736a0712c754dd01 to your computer and use it in GitHub Desktop.
Global Options Chunk for Knitr in RMarkdown Documents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
### Thanks to Karl Broman http://kbroman.org/knitr_knutshell/pages/Rmarkdown.html | |
```{r global_options, include=FALSE} | |
rm(list=ls()) ### To clear namespace | |
library(knitr) | |
opts_chunk$set(fig.width=12, fig.height=8, fig.path='Figs/', | |
echo=TRUE, warning=FALSE, message=FALSE) | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment