Show an Image on an 'R' Graphics Device

Sometimes it is handy to be able to view an image file on an 'R' graphics device. This package just does that. Currently it supports 'PNG' files.


Project Status: Active - The project has reached a stable, usable state and is being actively developed. Linux Build Status Windows Build status CRAN RStudio mirror downloads Coverage Status

Sometimes it is handy to be able to view an image file on an R graphics device. This package just does that. Currently it supports PNG files.

Installation

devtools::install_github("r-lib/showimage")

Usage

library(showimage)
png(tmp <- tempfile(fileext = ".png"))
pairs(iris)
dev.off()
show_image(tmp)

plot of chunk unnamed-chunk-2

License

GPL-2 | GPL-3 © Mango Solutions, Simon Urbanek, RStudio

News

1.0.0

First public release.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("showimage")

1.0.0 by Gábor Csárdi, a year ago


https://github.com/r-lib/showimage#readme


Report a bug at https://github.com/r-lib/showimage/issues


Browse source code at https://github.com/cran/showimage


Authors: Gábor Csárdi


Documentation:   PDF Manual  


GPL-2 | GPL-3 license


Imports png, tools

Suggests covr, testthat


Imported by webdriver.


See at CRAN