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.
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.
devtools::install_github("r-lib/showimage")
library(showimage)png(tmp <- tempfile(fileext = ".png"))pairs(iris)dev.off()show_image(tmp)
GPL-2 | GPL-3 © Mango Solutions, Simon Urbanek, RStudio
First public release.