Add chunk of code without executing it

后端 未结 1 928
情书的邮戳
情书的邮戳 2021-01-17 16:15

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 tha

相关标签:
1条回答
  • 2021-01-17 16:46

    Like @Ramnath commented, this can be achieved using the eval = FALSE chunk option.

    0 讨论(0)
提交回复
热议问题