Description Usage Arguments Value Examples
Save a history and fix indentation (reformat code in RStudio), then extract ggplots
1 2 3 4 | r_code_extract_ggplots_code_list(
script_path = NULL,
code = readLines(script_path)
)
|
script_path |
a path to a prepared r code script (prepared history) |
code |
r code or path to script |
a list containing ggplot code lines as vectors.
1 2 | code = write_ggplots_code_example()
r_code_extract_ggplots_code_list(code = code)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.