save_pptx: Save plot as PowerPoint

Description Usage Arguments Details Examples

Description

Save plot as PowerPoint

Usage

1
2
save_pptx(p, filename, template = c("presentation", "report"),
  template.file = NULL, f = NULL)

Arguments

p

A ggplot2 object.

filename

Filename for the PowerPoint file.

template

Either presentation or report, the template on Dropbox to be used. Only useful if connected to Dropbox. Can be overriden by template.file.

template.file

If set, the file (must have extension .pptx) to be used in the template.

f

A function that prints the input, such as grid::grid.draw.

Details

Generally, you will need the ReporteRs package which has been deprecated on CRAN, so you will need to install it remotely. install_reporters.

Examples

1
2
3
4
5
6
7
## Not run: 
# See
paste0("https://gist.githubusercontent.com/HughParsonage/",
      "60581c4595f3f10ba201faeacc46cca5/raw/31316307432ee6fef3164e212d21f173ec49d25f/",
      "employment-QLD")

## End(Not run)

HughParsonage/grattanCharts documentation built on May 8, 2019, 10:52 a.m.