powered by
Read PNG figures into Binary Files
rtf_read_png(file)
a vector of PNG file path
a list of binary data vector returned by readBin
readBin
# NOT RUN { file <- file.path(tempdir(), "figure1.png") png(file) plot(1:10) dev.off() # Read in PNG file in binary format rtf_read_png(file) # }
Run the code above in your browser using DataLab