控制台中的工作概述The RStudio console includes a variety of features intended to make working with R more productive and straightforward. This article reviews these features. Learning to use these features along with the related features available in the Source and History panes can have a substantial payoff in your overall productivity with R. RStudio 控制台包含许多使R 工作更为有效和直观的特征。本文综述这些特征。学习使用这些特征以及 Source和History窗口中可用的相关特征可以对你使用 R 的效率有实际性的帮助。 代码补全RStudio supports the automatic completion of code using the key. For example, if you have an object named pollResults in your workspace you can type poll and then and RStudio will automatically complete the full name of the object. RStudio 支持使用键来自动补全代码。例如,如果你在工作空间中有名为pollResults的对象,你可输入 poll 然后按键,RStudio 将自动完成该对象的全名。 The code completion feature also provides inline help for functions whenever possible. For example, if you typed sub then pressed you would see: 代码补全特征同样提供了尽可能的嵌入式帮助。例如,如果你可输入 sub 然后按键,你将看到: Code completion also works for function arguments, so if you typed subset( and then pressed you'd see the following: 代码补全还可以对参数功能进行工作,如果你可输入subset(然后按键,你将看到: 检索以前命令As you work with R you'll often want to re-execute a command which you previously entered. As with the standard R console, the RStudio console supports the ability to recall previous commands using the arrow keys: 当你使用R 进行工作,你将经常可输入重新执行你之前输入的命令。与标准的R 控制台一样,RStudio 控制台支持使用以下方向键回忆之前命令的功能: — Recall previous command(s) — Reverse of Up — 回忆前一条命令; — 回相反; If you wish to review a...