PPT.ReplaceTextByText | R Documentation |
Looks through all shapes and finds a shape with matching text pattern. The text in the shape is replaced.
PPT.ReplaceTextByText(ppt, what, replace, ...)
ppt |
The ppt object as used in R2PPT. |
what |
Text pattern to match against. |
replace |
Text to replace pattern with. |
... |
Not evaluated. |
## Not run:
# replace text on slide
ppt <- PPT.Open("inst/template.pptx", method="RDCOMClient")
what <- "[[tag 1]]"
replace <- "This has been replaced"
PPT.ReplaceTextByText(ppt, what, replace)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.