Add a piece of code without executing it.

Is there an option in knitr that allows you to embed code without execution? I want the code to appear in the document with the same style as the other pieces of knitr code .

I am particularly interested in the LaTeX options in the .Rnw document.

+3
source share
1 answer

Like the @Ramnath comment, this can be achieved using the eval = FALSEchunk option .

+4
source

All Articles