Displaying 1 result from an estimated 1 matches for "addtitl".
Did you mean:
addtitle
2015 Jun 29
0
Support for transparency in metafile export & support for export to Powerpoint
...ces. This made me wonder if exporting a graph to Powerpoint could perhaps also be supported in grDevices?
In ReporteRs the code e.g. to export a ggplot would be
library( ReporteRs )
require( ggplot2 )
mydoc = pptx( )
mydoc = addSlide( mydoc, slide.layout = "Title and Content" )
mydoc = addTitle( mydoc, "Plot examples" )
myplot = qplot(Sepal.Length, Petal.Length
, data = iris, color = Species
, size = Petal.Width, alpha = I(0.7)
)
mydoc = addPlot( mydoc, function( ) print( myplot ), vector.graphic=TRUE)
writeDoc( mydoc, file = "test plot.pptx&q...