R Studio F2 不再启动`View()` [英] R Studio F2 wont initiate `View()` anymore

查看:53
本文介绍了R Studio F2 不再启动`View()`的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在键盘上按下 F2 时,它会以 Excel 类型的方式打开一个数据框.但有时它会打开这个(见下图).出了什么问题?

When I hit F2 on my keyboard it'll open up a data frame in an Excel type fashion. But sometimes it opens this (see image below) instead. What went wrong?

推荐答案

根据键盘快捷键 document,F2是显示光标处函数的源代码.如果突出显示(或将光标置于)数据帧变量上并按 F2,数据查看器将打开,您将看到 View(df) 命令在控制台中运行.同样,如果您突出显示或定位在函数名称上,您将看到该函数的源代码.

As per the keyboard shortcut document, F2 is to show the source code for function at cursor. If you highlight (or position the cursor on) a dataframe variable and press F2, the data viewer will open and you will see that the View(df) command ran in the console. Similarly, if you highlight or position on a function name, you will see the source code of that function.

这篇关于R Studio F2 不再启动`View()`的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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