Created
November 7, 2018 19:57
-
-
Save jananiravi/316c827e71f4ebfb77491f8a32b06778 to your computer and use it in GitHub Desktop.
knitr setup chunk for radix rmarkdown file (little redundant with the various width options; looking for suggestions)
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
```{r setup} | |
knitr::opts_chunk$set( | |
echo=TRUE, eval=TRUE, | |
warning=TRUE, | |
message=TRUE, | |
tidy=TRUE, | |
R.options=list(width=80), | |
tidy.opts=list(width.cutoff=80), # For code | |
width = 80, | |
# comment="##", | |
background="grey") # For output | |
options(cli.width = 60, width=60) # For tidyverse loading messages | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment