PPT.Init: Initialises a PowerPoint presentation

Description Usage Arguments Value Warning Author(s) References See Also Examples

Description

Initialises a PowerPoint presentation by using either rcom or RDCOMClient.

Usage

1
PPT.Init(visible=TRUE, method = c("rcom", "RDCOMClient"), addPres = TRUE)

Arguments

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. Choice of either rcom or RDCOMClient. Defaults to rcom.

addPres

Add a presentation at initialisation? Defaults to TRUE.

Value

ppt

Invisibly returns an initialised list of COM objects.

Warning

You must save the returned list of COM objects initialised with PPT.Init to an R object. See the example.

Author(s)

Wayne Jones wayne_betws@hotmail.com

References

See http://sunsite.univie.ac.at/rcom for more details on rcom and http://www.omegahat.org/RDCOMClient/ for more details on RDCOMClient.

See Also

PPT.Init,PPT.AddTitleSlide,PPT.AddTextSlide,
PPT.AddTitleOnlySlide,PPT.Present,PPT.ApplyTemplate,PPT.AddGraphicstoSlide

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
myPres<-PPT.Init() 
#or 
#myPres<-PPT.Init(method="RDCOMClient")
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) 

R2PPT documentation built on May 2, 2019, 3:41 p.m.

Related to PPT.Init in R2PPT...