我使用knitr包和外部代码选项.有没有办法让我可以跳过大块的一行来阅读?例如:
## @knitr chunk1
a <- 1:100
## This comment should not appear
## @knitr chunk2
print(a[1:12])
Run Code Online (Sandbox Code Playgroud)
在上面的例子中,我希望第3行不会出现在最终的*.pdf中.非常感谢任何提示.
| 归档时间: |
|
| 查看次数: |
338 次 |
| 最近记录: |