Learn R Programming

officer (version 0.6.7)

print.rpptx: Write a 'PowerPoint' file.

Description

Write a 'PowerPoint' file with an object of class 'rpptx' (created with read_pptx()).

Usage

# S3 method for rpptx
print(x, target = NULL, ...)

Arguments

x

an rpptx object

target

path to the pptx file to write

...

unused

See Also

read_pptx

Examples

Run this code
# write a rdocx object in a pptx file ----
file <- tempfile(fileext = ".pptx")
doc <- read_pptx()
print(doc, target = file)

Run the code above in your browser using DataLab