Chapter 18

Importing Graphics

Chapter preview

This chapter describes packages and functions that import images from external files and allow them to be included as part of R graphics output. There are separate packages for importing raster images and importing vector images.

Sections 3.4.1 and 6.2 describe the set of graphical primitives that are available in the traditional graphics system and the grid graphics system. These graphical primitives make it possible to draw basic shapes, text, and bitmap images and they form the basis for drawing more complex images with R.

By combining basic shapes, it is possible to produce an infinite variety of pictures, however, there are still some images that cannot be produced with R and R is not the best ...

Get R Graphics, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.