Add chunk of code without executing it

后端 未结 1 921
情书的邮戳
情书的邮戳 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)
提交回复
热议问题