Created
May 16, 2018 17:09
-
-
Save monkeycycle/395f879e257f498e1f04f2814e36b0a3 to your computer and use it in GitHub Desktop.
Print markdown within r notebook code chunks
This file contains hidden or 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
# Needs `, results='asis'` and two spaces before the trailing newline | |
```{r occupations_by_vismin.R, echo=TRUE, message=FALSE, warning=FALSE, results='asis'} | |
for(thing in list_of_things){ | |
cat("\n###", thing, "\n") | |
cat(" \n") | |
} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment