【发布时间】:2019-09-03 06:56:21
【问题描述】:
我没有这个问题的代码,希望我能解释一下。
当我在编辑我的rmarkdown 文件时,我想编织它以查看它在此之前的样子。我只想看看它在这之前的样子,而不是每次都编织整个文件。我想知道我们是否可以插入标记或其他东西,因此文件的其余部分将被忽略或视为纯文本。
我已尝试添加 ````。它将其余文本的颜色更改为橙色,但仍运行其中的内联代码。
```{r setup,echo=FALSE}
run this
```
Chapter 1 with inline code `r code` and text,
edit this `r code`, knit until this point ignoring the rest:
Chapter 2.... ... Chapter 10 with a lot of inline code.
【问题讨论】:
标签: r r-markdown