问题描述
我最近更新了RStudio,并在源代码"窗口中编写R Markdown文档时,每当我在RMD的一部分中运行代码时,输出就会以以下方式显示在源代码窗口本身中.有大量地块时,它太乱了.如果可能的话,希望禁用此功能,并恢复为仅在控制台/绘图查看器"窗口中显示输出的良好旧样式.
I recently updated my RStudio and while writing an R Markdown document in the Source Window, whenever I run a code in a chunk of the RMD, the output is shown in the source window itself in the following manner. It gets too messy when there are huge plots. Would like to disable this feature if possible and revert back to good old style of displaying output in the Console/Plot viewer window only.
谢谢
推荐答案
在Rstudio中尝试一下.
Try this in Rstudio.
工具>全局选项> R降价> 取消选中:显示所有R降价文档的内联输出.
Tools > Global Options > R Markdown > Uncheck: Show output inline for all R Markdown Documents.
当您编辑R Markdown文档时,这应该禁用内联代码块输出.
That should disable inline code chunk output when you're editing R Markdown documents.
这是否能满足您的要求?
Does that get you what you're asking?
这篇关于RStudio:在编写RMarkdown文档时禁用“源代码"窗口中代码的输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!