RStudio:在编写RMarkdown文档时禁用“源代码"窗口中代码的输出 [英] RStudio: Disable output of a code in Source Window while writing RMarkdown Document

查看:82
本文介绍了RStudio:在编写RMarkdown文档时禁用“源代码"窗口中代码的输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近更新了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文档时禁用“源代码"窗口中代码的输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆