read_pptx

0th

Percentile

open a connexion to a 'PowerPoint' file

read and import a pptx file as an R object representing the document.

Usage
read_pptx(path = NULL)

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

# S3 method for rpptx length(x)

Arguments
path

path to the pptx file to use as base document.

x

an rpptx object

target

path to the pptx file to write

...

unused

number of slides

Function length will return the number of slides.

Aliases
  • read_pptx
  • print.rpptx
  • length.rpptx
Examples
# NOT RUN {
read_pptx()
# write a rdocx object in a docx file ----
if( require(magrittr) ){
  file <- tempfile(fileext = ".pptx")
  read_pptx() %>% print(target = file)
  # full path of produced file is returned
  print(.Last.value)
}
# }
Documentation reproduced from package officer, version 0.3.2, License: GPL-3

Community examples

Looks like there are no examples yet.