如何清除 Rstudio 中的所有源(又名视图)选项卡? [英] How do I clear all the Source (aka View) tabs in Rstudio?

查看:39
本文介绍了如何清除 Rstudio 中的所有源(又名视图)选项卡?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了一件坏事并使用 apply 运行了 8000 次 View(row).

I did a bad thing and ran View(row) 8000 times using apply.

现在我在 Rstudio 的源窗格(左上角)中有 8000 个选项卡.

Now I have 8000 tabs in my Source pane (top left) in Rstudio.

有谁知道如何一举清除它们?否则我注定要控制-W很多.

Does anyone know how to clear them all in one fell swoop? Otherwise I'm doomed to control-W A LOT.

我已经尝试过的事情:

  • 移动 .RData
  • 移动 .Rhistory
  • 谷歌搜索rstudio clear source"rstudio delete tabs"等

提前致谢!

推荐答案

我知道如果你点击

Ctrl + Shift + W

Ctrl + Shift + W

它将关闭所有选项卡.相同的选项也在

it will close all the tabs. The same option is also under

文件 > 全部关闭

所以只需保存您想要的选项卡并关闭所有选项卡.

So just save the tab you wanted and close all.

这篇关于如何清除 Rstudio 中的所有源(又名视图)选项卡?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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