Jenny Bryan
18 September, 2014
My periodic revisitation of "how can I include a verbatim R chunk in .rmd"? This time I am writing it down! Various proposed solutions:
From the knitr FAQ:
 ```{r label, what=ever}
From issue 443
```{r foo}
print('hello world!')
```
From knitr example 065, involving inline R code:
```{r eval=TRUE}
n = 10
rnorm(x)
```
Also from knitr example 065, involving a zero-width space:
`�``{r eval=TRUE}
n = 10
rnorm(n)
```
From Karl Broman, involving <pre> and <code> tags:
```{r whatever}
data(cars)
summary(cars)
```