Learn R Programming

ggbash (version 0.4.5)

exec_ggbash: execute raw ggbash commands

Description

execute raw ggbash commands

Usage

exec_ggbash(raw_input = "gg mtcars + point mpg cyl | copy",
  show_warn = TRUE, batch_mode = FALSE, as_string = FALSE)

Arguments

raw_input

A ggbash command chain (might contain pipes)

show_warn

Whether to show a warning message when ambiguously matched. Default is TRUE.

batch_mode

Default is FALSE. If TRUE, the resulted ggplot object is returned.

as_string

Return the resulted ggplot2 object as a string not as a ggplot2 object. Default is FALSE.