In knitr, is there any option that allows code to be inserted without being executed? I only want the code to appear in the document with the same style than other knitr code chunks.
I am particularly interested in the options for LaTeX in a .Rnw document.
Like @Ramnath commented, this can be achieved using the eval = FALSE
chunk option.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With