powered by
read and import a pptx file as an R object representing the document.
read_pptx(path = NULL)# S3 method for rpptx print(x, target = NULL, ...)# S3 method for rpptx length(x)
# S3 method for rpptx print(x, target = NULL, ...)
# S3 method for rpptx length(x)
path to the pptx file to use a base document.
an rpptx object
path to the pptx file to write
unused
Function length will return the number of slides.
length
read_pptx() # write a rdocx object in a docx file ---- if( require(magrittr) ){ read_pptx() %>% print(target = "out.pptx") # full path of produced file is returned print(.Last.value) }
Run the code above in your browser using DataLab