Description Usage Arguments Details Value Examples
ggbash_
executes a new ggbash session for faster ggplot2 plotting.
1 2 |
batch |
A character. If given, |
clipboard |
Default is NULL If batch is non-empty and clipboard is non-NULL, ggbash copies a resulted ggplot2 object to clipboard. just after executing the given command. |
show_warn |
Whether to show a warning message when ambiguously matched. Default is TRUE. |
as_string |
Return the resulted ggplot2 object as a string not as a ggplot2 object. Default is FALSE. Ignored when non-batch mode. |
show_compiled |
Print the built ggplot2 command. Default is TRUE.
|
ggbash provides concise aliases for ggplot2 functions. By calling ggbash(), your R session goes into a ggbash session, which only interprets predefined ggbash commands. Some basic commands like setwd() or pwd() works in ggbash session, but most of the usual R grammars are disabled. Instead, a variety of ggbash commands are enabled for writing ggplot2 script as faster as possible.
If you give a string as a first argument of 'ggbash', ggbash will exit just after executing the command. Useful for a one-liner.
nothing
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.