Is there a way print an existing PNG file to the device window, for example, let\'s say that you have saved a plot as PNG but you would like to preview it (for sanity) befor
You can import it and display it in R,
library(png) img <- readPNG(system.file("img", "Rlogo.png", package="png")) grid::grid.raster(img)