| ggsave_twitter | R Documentation | 
Save plots
ggsave_twitter(
  filename,
  file_path = file.path(Sys.getenv("USERPROFILE"), "Downloads"),
  plot = last_plot()
)
ggsave_blog(
  filename,
  file_path = file.path(Sys.getenv("USERPROFILE"), "Downloads"),
  plot = last_plot(),
  height = 5
)
ggsave_ppt_half(
  filename,
  file_path = file.path(Sys.getenv("USERPROFILE"), "Downloads"),
  plot = last_plot()
)
ggsave_ppt(
  filename,
  file_path = file.path(Sys.getenv("USERPROFILE"), "Downloads"),
  plot = last_plot()
)
| filename | File name to create on disk without extension | 
| file_path | A path to save file. Default is user Downloads folder. | 
| plot | Plot to save, defaults to last plot displayed. | 
| height | Plot height. | 
ggsave_blog(): 
ggsave_ppt_half(): Save to ppt-slide a half slide plot.
ggsave_ppt(): Save to ppt-slide a whole slide plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.