Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rtf_read_png

Read PNG Figures into Binary Files


Description

Read PNG Figures into Binary Files

Usage

rtf_read_png(file)

Arguments

file

A character vector of PNG file paths.

Value

a list of binary data vector returned by readBin

Specification

The contents of this section are shown in PDF user manual only.

Examples

## 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)

## End(Not run)

r2rtf

Easily Create Presentation-Ready Rich Text Format (RTF) Table and Figure

v0.2.0
GPL-3
Authors
Yilong Zhang [aut, cre], Siruo Wang [aut], Simiao Ye [aut], Madhusudhan Ginnaram [aut], Merck Sharp & Dohme Corp [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.