Learn R Programming

quickcode (version 1.0.6)

insertInText: Shiny app function to insert string to current file in RStudio

Description

Shorthand to insert content to opened file

Usage

insertInText(string)

Value

Inserts into current position on opened file

Arguments

string

what to insert

Examples

Run this code
if(interactive()){
insertInText('hello rpkg.net')
insertInText('hello world')
}

Run the code above in your browser using DataLab