Skip to content


Subversion checkout URL

You can clone with
Download ZIP
An implementation of the Grammar of Graphics in R

Merge pull request #1098 from jimhester/rgeos

Remove rgeos from binary installation
latest commit 0324ed502a
@hadley authored


Build Status

ggplot2 is a plotting system for R, based on the grammar of graphics, which tries to take the good parts of base and lattice graphics and avoid bad parts. It takes care of many of the fiddly details that make plotting a hassle (like drawing legends) as well as providing a powerful model of graphics that makes it easy to produce complex multi-layered graphics.

To install:

  • the latest released version: install.packages("ggplot2")
  • the latest development version: install_github("hadley/ggplot2")

Find out more at, and check out the nearly 500 examples of ggplot in use. If you're interested, you can also sign up to the ggplot2 mailing list at, or track development at

Something went wrong with that request. Please try again.