The R graphics engine has new support for rendering raster images via the functions rasterImage() and grid.raster(). This leads to better scaling of raster images, faster rendering to screen, and smaller graphics files. Several examples of possible applications of these new features are described.
Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".
For attribution, please cite this work as
Murrell, "Raster Images in R Graphics", The R Journal, 2011
BibTeX citation
@article{RJ-2011-008, author = {Murrell, Paul}, title = {Raster Images in R Graphics}, journal = {The R Journal}, year = {2011}, note = {https://doi.org/10.32614/RJ-2011-008}, doi = {10.32614/RJ-2011-008}, volume = {3}, issue = {1}, issn = {2073-4859}, pages = {48-54} }