By doubling the backticks in Markdown, it is easy to render some text in code style including the backticks, such as: `r 2+2`. But how to do that with RMark
`r 2+2`
I just learnt about the results='asis' option. So, yet another way; for fun and learning :-)
results='asis'
```{r, results='asis', echo=FALSE} cat("`` `r 2+2` ``") ```