Learn R Programming

rskey (version 0.4.4)

addins: Rstudio keyboard shortcuts on F-keys

Description

Rstudio addins to examine highlighted code / object. It can be very useful to bind these addins as outlined in https://github.com/brry/rskey#rstudio-addins-for-keyboard-shortcuts

Usage

str_addin(obj = selectobject())

head_addin(obj = selectobject())

tail_addin(obj = selectobject())

View_addin(obj = selectobject())

funSource_addin(obj = selectobject(eval = FALSE))

summary_addin(obj = selectobject())

dim_addin(obj = selectobject())

class_addin(obj = selectobject())

plot_addin(obj = selectobject())

hist_addin(obj = selectobject())

Arguments

obj

List containing object (some R object) fullcode (code, objectname, expression) and code (potentially truncated version). For funSource_addin, only the function name should be highlighted. DEFAULT: Rstudio addin selected code from selectobject

Value

Output of the respective functions

See Also

selectobject, berryFunctions::funSource, https://github.com/daattali/addinslist#readme

Examples

Run this code
# NOT RUN {
# Go to Addins - browse Addins - Keyboard shortcuts - map commands as desired
# or use    setKeyboardBindings()

# highlight objects or code (examples below), then press keyboard shortcut
iris
iris$Sepal.Length + 10

# }

Run the code above in your browser using DataLab