rvg (version 0.0.5)

dml_pptx: DrawingML graphic device for Microsoft PowerPoint

Description

Graphics devices for Microsoft PowerPoint DrawingML format.

Usage

dml_pptx(file = "Rplots.dml", width = 6, height = 6, offx = 1,
  offy = 1, bg = "white", fontname_serif = "Times New Roman",
  fontname_sans = "Calibri", fontname_mono = "Courier New",
  fontname_symbol = "Symbol", pointsize = 12, editable = TRUE, id = 1L,
  next_rels_id = 1L, raster_prefix = "raster_", standalone = TRUE)

Arguments

file
the file where output will appear.
height, width
Height and width in inches.
offx, offy
top and left origin of the plot
bg
Default background color for the plot (defaults to "white").
fontname_serif, fontname_sans, fontname_mono, fontname_symbol
font names for font faces. Used fonts should be available in the operating system.
pointsize
default point size.
editable
should vector graphics elements (points, text, etc.) be editable.
id
specifies a unique identifier (integer) within the slide that will contain the DrawingML instructions.
next_rels_id
specifies the next unique identifier (integer) within relationship file that will be used to reference embedded raster images if any.
raster_prefix
string value used as prefix for png files produced when raster objects are printed on the graphical device.
standalone
produce a standalone drawingml file? If FALSE, omits xml header and namespaces.

See Also

Devices, dml_docx, dsvg

Examples

Run this code
dml_pptx( file = tempfile() )
plot(1:11,(-5:5)^2, type='b', main="Simple Example")
dev.off()

Run the code above in your browser using DataLab