dml_xlsx | R Documentation |
Graphics devices for Microsoft Excel DrawingML format.
dml_xlsx(
file = "Rplots.dml",
width = 6,
height = 6,
offx = 1,
offy = 1,
bg = "white",
fonts = list(),
pointsize = 12,
editable = TRUE,
id = 1L,
last_rel_id = 1L,
raster_prefix = "raster_",
standalone = TRUE
)
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"). |
fonts |
Named list of font names to be aliased with
fonts installed on your system. If unspecified, the R default
families |
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. |
last_rel_id |
specifies the last 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 |
Devices
dml_xlsx(file = tempfile())
plot(1:11, (-5:5)^2, type = "b", main = "Simple Example")
dev.off()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.