在R中,使用knitr,当results ='hide'和echo = FALSE时,有没有办法防止HTML中的换行符?
在这种情况下:
First I do this,
```{r results='hide', echo=FALSE}
x=4;x
```
then I do that.
我得到:
First I do this,
then I do that.
中间有一个休息和一条额外的线。
我想得到:
First I do this, then I do that.
反而。
一般来说,我希望代码块不插入新行,以便降价可以自由地吃掉第一行文本之后的行。
谢谢,