sugar function to save flextable objects in an PowerPoint file.
save_as_pptx(..., values = NULL, path)
flextable objects, objects, possibly named. If named objects, names are used as slide titles.
a list (possibly named), each element is a flextable object. If named objects, names are
used as slide titles. If provided, argument ...
will be ignored.
PowerPoint file to be created
Other flextable print function:
as_raster()
,
flextable_to_rmd()
,
htmltools_value()
,
knit_print.flextable()
,
plot.flextable()
,
print.flextable()
,
save_as_docx()
,
save_as_html()
,
save_as_image()
# NOT RUN {
ft1 <- flextable( head( iris ) )
tf <- tempfile(fileext = ".pptx")
save_as_pptx(ft1, path = tf)
ft2 <- flextable( head( mtcars ) )
tf <- tempfile(fileext = ".pptx")
save_as_pptx(`iris table` = ft1, `mtcars table` = ft2, path = tf)
# }
Run the code above in your browser using DataLab