Description Usage Arguments Value Warning Author(s) References See Also Examples
Opens an existing PowerPoint presentation.
1 |
file |
Required filename giving the full file path to existing PowerPoint presentation. See example. |
method |
Choice of underlying COM technology to open the PowerPoint presentation. Choice of either rcom or RDCOMClient. Defaults to rcom. |
ppt |
Invisibly returns a list of COM objects. |
You must save the returned list of COM objects initialised with PPT.Init to an R object. See the example.
Wayne Jones wayne_betws@hotmail.com
See http://sunsite.univie.ac.at/rcom for more details on rcom and http://www.omegahat.org/RDCOMClient/ for more details on RDCOMClient.
PPT.Init
,PPT.SaveAs
,PPT.Close
,PPT.AddTitleSlide
,PPT.AddTextSlide
,
PPT.AddTitleOnlySlide
,PPT.Present
,PPT.ApplyTemplate
,PPT.AddGraphicstoSlide
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
#Create and save a presentation
myPres<-PPT.Init(visible=FALSE)
myPres<-PPT.AddTitleSlide(myPres,title="Title Slide",subtitle="Subtitle here")
myPres<-PPT.AddTitleOnlySlide(myPres,title="Title Only",title.fontsize=40,title.font="Arial")
myPres<-PPT.AddTextSlide(myPres,title="Text Slide",text="Text1 \rText2 \rText3",text.font="Arial")
myPres<-PPT.SaveAs(myPres,file=paste(getwd(),"test R2PPT Pres.ppt",sep="/"))
myPres<-PPT.Close(myPres)
rm(myPres)
#Open the saved presentation and carry on...
myPres<-PPT.Open(file=paste(getwd(),"test R2PPT Pres.ppt",sep="/"))
myPres<-PPT.AddTitleOnlySlide(myPres,title="Carry on appending to existing PPT file!")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.