PPT.Init | R Documentation |
Initialises a PowerPoint presentation by using RDCOMClient.
PPT.Init(visible=TRUE, method = "RDCOMClient", addPres = TRUE)
visible |
Optional logical specifying if PowerPoint is visible from initialisation. Useful for debugging. Defaults to TRUE. |
method |
Choice of underlying COM technology method to implement R2PPT. Legacy function input, always uses RDCOMClient now. |
addPres |
Add a presentation at initialisation? Defaults to TRUE. |
ppt |
Invisibly returns an initialised 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.w.jones@shell.com
See https://github.com/omegahat/RDCOMClient for more details on RDCOMClient and https://github.com/waynegitshell/R2PPT/ for R2PPT source code.
PPT.Init
,PPT.AddTitleSlide
,PPT.AddTextSlide
,
PPT.AddTitleOnlySlide
,PPT.Present
,PPT.ApplyTemplate
,PPT.AddGraphicstoSlide
## Not run: myPres<-PPT.Init() myPres<-PPT.AddBlankSlide(myPres) 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") rm(myPres) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.