rtf_read_figure | R Documentation |
Supported format is listed in r2rtf:::fig_format()
.
rtf_read_figure(file)
file |
A character vector of figure file paths. |
a list of binary data vector returned by readBin
The contents of this section are shown in PDF user manual only.
## Not run:
# Read in PNG file in binary format
file <- tempfile("figure", fileext = ".png")
png(file)
plot(1:10)
dev.off()
rtf_read_figure(file)
# Read in EMF file in binary format
library(devEMF)
file <- tempfile("figure", fileext = ".emf")
emf(file)
plot(1:10)
dev.off()
rtf_read_figure(file)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.