RStudio AddIns {DescToolsAddIns}R Documentation

Some Functions to be Used as Shortcuts in 'RStudio'

Description

A simply great new feature in RStudio is the option to define add-ins and bind shortcuts to them. This package includes add-ins for some of the most frequently used functions in a data scientist's (at least mine) daily work (like str(), example(), plot(), head(), view(), Desc()).
Most of these functions use the current selection in RStudios source panel and send the specific command to the console where it is executed immediately. Assigning shortcuts to these add-ins saves you tons of keystrokes and brings a breeze of liberating and brake-releasing GUI-interaction into your R-life.

Usage

NewObject()
FileOpen()
FileBrowserOpen()
FileImport()
FileSaveAs()
GetExcelRange(env = .GlobalEnv, header = FALSE)
GetExcelRangeH(env = .GlobalEnv)
XLView()
IntView()

Edit()
FlushToSource()
Select()

Str()
Str1()
Abstract()
Head()
Some()
Summary()
Desc()
Example()
Info()
Unclass()

Plot()
PlotD()
SetArrow()
InspectPnt()

BuildModel()

Enquote()
EnquoteS()
RemoveDuplicates()
SortAsc()
SortDesc()
Shuffle()
EvalEnquote()
FlipBackSlash()

Arguments

env

Environment for GetExcelRange to write the data. GlobalEnv is default.

header

logical determining if the import from XL should use a header or not

Details

The following add-ins are available:

As soon as the package is loaded once, the AddIns will be listed in RStudios AddIns listbox:

AddIns listbox

The keyboard shortcuts can then be assigned by clicking on the menu Tools | Modify Keyboard Shortcuts... and scroll down to the Addin scope:

Keyboard Shortcuts

Author(s)

Andri Signorell <andri@signorell.net>

Examples

if (interactive()){
  Str()
}

[Package DescToolsAddIns version 1.9 Index]