Description Usage Arguments Value See Also Examples
Adds new slide to existing PowerPoint object and adds text and plot.
1 2 3 |
ppt |
Pointer to ppt object, generated by
|
title |
Slide title |
text |
Slide text |
subtitle |
Slide subtitle - only added to Title slide |
file |
Location and file name of a plot |
size |
A numeric vector of size 4, indicating c(x1, y1, x2, y2) expressed as percentage of page size |
A pointer to a ppt object
Other PowerPoint: pptClose
,
pptNew
, pptOpen
,
pptSave
1 2 3 4 5 6 7 8 | if(isCOMsupported(method="RDCOMClient")){
ppt <- pptNew()
ppt <- pptNewSlide(ppt) # This should be blank
ppt <- pptNewSlide(ppt, "Title", subtitle="Subtitle")
ppt <- pptNewSlide(ppt, "Title only")
ppt <- pptNewSlide(ppt, "Title with text", "Level1\n\tLevel 2 item 1\n\tLevel 2 item 2\n\t\tLevel 3\nBack to level 1")
rm(ppt)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.