R/PPT.Close.R

"PPT.Close" <-function(ppt){

if(ppt$method=="rcom"){

	if(!comIsValidHandle(ppt$ppt))   stop("Invalid handle for powerpoint application")
	if(!comIsValidHandle(ppt$pres))  stop("Invalid handle for powerpoint presentation")

}

#comInvoke(ppt$pres,"Close")
ppt$pres$Close()


return(invisible(ppt))
}

Try the R2PPT package in your browser

Any scripts or data that you put into this service are public.

R2PPT documentation built on May 30, 2017, 7:32 a.m.