save_ggplot: save a ggplot object into a file

Description Usage Arguments

Description

save a ggplot object into a file

Usage

1
2
3
4
save_ggplot(dataset_string = "mtcars-32",
  ggstr = "ggplot(iris) + geom_point(aes(Sepal.Width, Sepal.Length))",
  conf = list(aes = c("x=cyl", "y=mpg"), non_aes = c(), geom_list = "point"),
  argv = c("png", "200*500", "'my-file-name'", "my_plot_dir"))

Arguments

dataset_string

A character. Used as a directory.

ggstr

A list of aesthetics

conf

A list of aesthetics, non-aesthetics and geoms

argv

A character vector


caprice-j/ggbash documentation built on May 13, 2019, 12:11 p.m.