print.rpptx {officer}R Documentation

Write a 'PowerPoint' file.

Description

Create a 'PowerPoint' file from an rpptx object (created by 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. If target is NULL (default), the rpptx object is printed to the console.

...

unused.

See Also

read_pptx()

Examples

# write an rpptx object to a .pptx file ----
file <- tempfile(fileext = ".pptx")
x <- read_pptx()
print(x, target = file)

[Package officer version 0.6.10 Index]