Skip to Content
R graphics

R graphics

Murrell, Paul

Written by the foremost authority in the field, this text explains how to use R to produce high quality statistical graphics. Completely updated and revised, this second edition highlights new graphics-related packages that have been developed, such as the ggplot2 package

Book. English.
2nd ed.
Published Boca Raton, Fla.: CRC, 2011
Rate this

Available at all branches.

This item is not reservable because:

  • There are no reservable copies for this title. Please contact a member of library staff for further information.
  • National College Library – One available in Main Lending 519.50285

    Barcode Shelfmark Loan type Status
    39006010602086 Main Lending 519.50285 Main Lending Available


Statement of responsibility: Paul Murrell
Distributor: London: Taylor & Francis [distributor], 2011
ISBN: 1439831769, 9781439831762
Note: Previous ed.: 2006.
Physical Description: 480 p. : ill.
Series: Chapman & Hall/CRC computer science and data analysis series ; 7
Subject: Computers and IT.; Computer graphics.; R (Computer program language)
Series Title: Chapman & Hall/CRC computer science and data analysis series ; 7.


  1. An Introduction to R Graphics
  2. R graphics examples
  3. The organization of R graphics
  5. Simple Usage of Traditional Graphics
  6. The traditional graphics model
  7. The plot() function
  8. Plots of a single variable
  9. Plots of two variables
  10. Plots of many variables
  11. Arguments to graphics functions
  12. Specialized plots
  13. Interactive graphics
  14. Customizing Traditional Graphics
  15. The traditional graphics model in more detail
  16. Controlling the appearance of plots
  17. Arranging multiple plots
  18. Annotating plots
  19. Creating new plots
  21. Trellis Graphics: the lattice Package
  22. The lattice graphics model
  23. Why another graphics system?
  24. lattice plot types
  25. The formula argument and multipanel conditioning
  26. The group argument and legends
  27. The layout argument and arranging plots
  28. The scales argument and labelling axes
  29. The panel argument and annotating plots
  30. The par.settings argument and graphical parameters
  31. Extending lattice plots
  32. The Grammar of Graphics: the ggplot2 Package
  33. Quick plots
  34. The ggplot2 graphics model
  35. Why another graphics system?
  36. Data
  37. Geoms and aesthetics
  38. Scales
  39. Statistical transformations
  40. The group aesthetic
  41. Position adjustments
  42. Coordinate transformations
  43. Facets
  44. Themes
  45. Annotating
  46. Extending ggplot2
  47. The grid Graphics Model
  48. A brief overview of grid graphics
  49. A simple example
  50. Graphical primitives
  51. Coordinate systems
  52. Controlling the appearance of output
  53. Viewports
  54. Missing values and non-finite values
  55. Interactive graphics
  56. Customizing lattice plots
  57. Customizing ggplot2 output
  58. The grid Graphics Object Model
  59. Working with graphical output
  60. Grob lists, trees, and paths
  61. Working with graphical objects off-screen
  62. 7.Capturing output
  63. Placing and packing grobs in frames
  64. Other details about grobs
  65. Saving and loading grid graphics
  66. Working with lattice grobs
  67. Working with ggplot2 grobs
  68. Developing New Graphics Functions and Objects
  69. An example
  70. Modularity
  71. Simple graphics functions
  72. Graphical objects
  73. Debugging grid
  75. Graphics Formats
  76. Graphics devices
  77. Graphical output formats
  78. Including R graphics in other documents
  79. Device-specific features
  80. Multiple pages of output
  81. Display lists
  82. Extension packages
  83. Graphical Parameters
  84. Colors
  85. Line styles
  86. Data symbols
  87. Fonts
  88. Mathematical formulae
  90. Graphics Extensions
  91. Tricks with text
  92. Drawing formatted text on a plot
  93. Avoiding text overlaps
  94. Peculiar primitives
  95. Confidence bars
  96. Calculations on colors
  97. Custom coordinates
  98. Atypical axes
  99. Plot Extensions
  100. Venn diagrams
  101. Chernoff faces
  102. Ternary plots
  103. Soil texture diagrams
  104. Polar plots
  105. Hexagonal binning
  106. Graphics for Categorical Data
  107. The vcd package
  108. XMM-Newton
  109. Plots of Categorical Data
  110. Categorical data on the y-axis
  111. Visualizing contingency tables
  112. Categorical plot matrices
  113. Multipanel categorical plots
  114. Customizing categorical plots
  115. The vcdExtra package
  116. Maps
  117. Map data
  118. Map annotation
  119. Complex polygons
  120. Map projections
  121. Raster maps
  122. Other packages
  123. Node-and-edge Graphs
  124. Creating graphs
  125. Graph layout and rendering
  126. Other packages
  127. Diagrams
  128. 3-D Graphics
  129. 3-D graphics concepts
  130. The Canterbury earthquake
  131. Traditional graphics
  132. Lattice graphics
  133. The scatterplot3d package
  134. The rgl package
  135. The vrmlgen package
  136. Dynamic and Interactive Graphics
  137. Dynamic Graphics
  138. Interactive Graphics
  139. Graphics GUIs
  140. Interactive graphics for the web
  141. Importing Graphics
  142. The moon and the tides
  143. Importing raster graphics
  144. Importing vector graphics
  145. Combining Graphics Systems
  146. The gridBase package

Author note

Paul Murrellattended Auckland University for his BSc (in Computer Science), BA (in Psychology), MSc (in Psychology), and PhD (in Statistics!). He then spent a year at the University of Cambridge in the Department of Community Medicine as a medical statistician and research assistant, before joining the Department of Statistics at Auckland University in October, 1999. His research interests include computational and graphical statistics. He is currently part of the development team for the R and Omegahat statistical computing projects. He was elected a Fellow of the American Statistical Association in 2010.


"The book under review is a greatly extended second edition of the well-received 2006 book. The size has almost doubled by adding 12 new chapters of which one is a former appendix, so that the second edition now contains 19 chapters divided into four parts. . this edition is invaluable and a necessity for everyone who regularly has to produce graphs by using R."
-Stefan K. Lhachimi, Journal of the Royal Statistical Society, Series A, February 2014

"This is a timely revision for a well-liked book. . this book is the place to go for advice on how to draw that graphic. . The strengths of the book remain the clear exposition of the traditional and grid graphics systems and the numerous examples (for which the code is, of course, available on the book's website). The new coverage of many other graphics packages adds to the book's attractiveness and in particular the chapter on ggplot2 is an excellent introduction to a complex package. . a very good book, which will be of use to anyone working seriously with graphics in R."
-Antony Unwin, International Statistical Review, 2012

"A lot has changed in the world of statistical graphics during this time, which is reflected in the substantial new material in the second edition. . the changes make this book the essential and comprehensive guide to graphics in R. . This is an excellent book. Everyone who uses R to draw graphics should have a copy!"
-Journal of Statistical Software, Vol. 43, September 2011

Praise for the First Edition:
"R Graphicsis a must for many useRs and programmmeRs . Paul Murrell, a member of the R Core Development Team, has not only been the main author of 'grid' but has also been responsible for several recent enhancements to the underlying R graphics engine. Together with its online companion website, this book will be an indispensable resource for almost everyone interested in how to produce R graphics efficiently and intelligently."
-Martin Maechler, Swiss Federal Institute of Technology, Zurich

"Starting with the basic plotting commands most users are familiar with from introductory texts, the book gives a comprehensive overview of the current state and design principles of visualizing data with R. Paul Murrell is one of the main authors of R's graphical facilities, and inventor of completely new features like the grid system or expressions for annotation of plots with mathematical formulae. . beginners gradually are turned into programmers while learning the language, having ample material for both novices and experts. It will certainly claim its place on the bookshelf of reference guides next to my desktop."
-Friedrich Leisch, Technical University of Vienna, Austria

"R Graphicsis exactly the sort of documentation that R needs. It is written clearly, with many examples, and will be useful for any level of R expertise from novice upwards. It contains more than a hundred figures containing model code and its output. There are extensive cross-references that make finding detailed information easy. My copy of the book is from the first printing, but it is exceptionally free of typographical and other errors. . Murrell is to be congratulated."
-Duncan Murdoch, University of Western Ontario, Canada

"Thanks to Paul Murrell's new book, the secrets of both traditional graphics and the new, modern grid system get unveiled . a must-have for novices and professionals alike, the ultimate guide to the power (and beauty) of R graphics."
-David Meyer, Vienna University of Economics and Business Administration, R News,6(2), 2006

"It achieves its goal of documenting the graphical facilities of R and should be extremely useful to anyone in need of detailed knowledge, in particular, of R's grid graphics."
-Soren Feodor Nielsen, University of Copenhagen, Journal of Applied Statistics, November 2007, Vol. 34, No. 9