Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们一直在尝试使用 RStudio 仅在 R-Notebook 上显示代码,但到目前为止我们还无法做到。
理论上它非常简单,如果你把这些表达式中的任何一个放在块上,它就会得到我们的欲望输出:
{r,评估=假,回声=真}
{r,评估=假}
但我们无法让它工作,现在我们不确定这是否是由于我们的 RStudio 版本(版本 1.0.136)或 knitr(1.15.1)上的错误。
非常感谢您对此的任何帮助。
最好的问候,安德烈斯
忽略这个问题,因为现在正在使用完全相同的表达式:
不知道发生了什么,但是一旦我重新启动了 RStudio,它就可以正常工作了。
对不起!