Learn R Programming

quickcode (version 1.0.6)

add.snippet.clear: Snippet R function to clear console and set directory

Description

Shorthand to add clear console code to current file

Usage

add.snippet.clear()

Arguments

Value

Inserts code to clear console

Examples

Run this code
if(interactive())
add.snippet.clear()

Run the code above in your browser using DataLab