第1页共47页编号:时间:2021年x月x日书山有路勤为径,学海无涯苦作舟页码:第1页共47页WorkingintheConsole控制台中的工作Overview概述TheRStudioconsoleincludesavarietyoffeaturesintendedtomakeworkingwithRmoreproductiveandstraightforward
Thisarticlereviewsthesefeatures
LearningtousethesefeaturesalongwiththerelatedfeaturesavailableintheSourceandHistorypanescanhaveasubstantialpayoffinyouroverallproductivitywithR
RStudio控制台包含许多使R工作更为有效和直观的特征
本文综述这些特征
学习使用这些特征以及Source和History窗口中可用的相关特征可以对你使用R的效率有实际性的帮助
CodeCompletion代码补全RStudiosupportstheautomaticcompletionofcodeusingtheTabkey
Forexample,ifyouhaveanobjectnamedpollResultsinyourworkspaceyoucantypepollandthenTabandRStudiowillautomaticallycompletethefullnameoftheobject
RStudio支持使用Tab键来自动补全代码
例如,如果你在工作空间中有名为pollResults的对象,你可输入poll然后按Tab键,RStudio将自动完成该对象的全名
Thecodecompletionfeaturealsoprovidesinlinehe