print.rpptx: Write a 'PowerPoint' file.

View source: R/read_pptx.R

print.rpptxR Documentation

Write a 'PowerPoint' file.

Description

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

Usage

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

Arguments

x

an rpptx object

target

path to the pptx file to write

...

unused

See Also

read_pptx

Examples

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

officer documentation built on Oct. 10, 2024, 1:06 a.m.