The ggplot2 book
TeX Perl Other
Switch branches/tags
Nothing to show
Clone or download
Latest commit a47bb08 Feb 27, 2016
Permalink
Failed to load latest commit information.
book Minor typesetting and layout tweaks Feb 27, 2016
diagrams update repo Sep 16, 2015
ggplot2-review Minor typesetting and layout tweaks Feb 27, 2016
springer Clean up old files Aug 6, 2015
.Rbuildignore RStudio automatic May 15, 2015
.gitignore Fixes for dev ggplot2. Check in tex. Sep 13, 2015
.travis.yml Cache Rmarkdown dirs. Install index package. Feb 11, 2016
DESCRIPTION Alphabetise Feb 11, 2016
Makefile Switch to pdflatex Feb 11, 2016
README.md Add library(devtools) to README.md Jan 8, 2016
_config.yml rnw -> rmd; port to jekyll Dec 8, 2014
colour-wheel.R Make correctness of colour wheel more obvious Jan 9, 2015
common.R Install stringr from CRAN. Suppress maps message Feb 27, 2016
contributing.md Contributing suggestions; render-tex now takes command line args Jan 14, 2015
data-manip.rmd Minor typesetting and layout tweaks Feb 27, 2016
errata.txt Fix some & remove irrelevant errata Jan 1, 2015
ggplot.rmd Comments from Wil Doane Oct 15, 2015
ggplot2-book.Rproj Switch to pdflatex Feb 11, 2016
introduction.rmd Minor typesetting and layout tweaks Feb 27, 2016
layers.rmd More robust specification categorical freqpoly Feb 26, 2016
mastery.rmd Use old bookdown package Feb 26, 2016
mi_raster.rds Lots of work including maps Jun 16, 2015
modelling.rmd Minor typesetting and layout tweaks Feb 27, 2016
position.rmd Use old bookdown package Feb 26, 2016
preface.rmd Preface & intro tweaks Feb 27, 2016
programming.rmd Comments from Wil Doane Oct 15, 2015
references.bib Update Naomi's book info Dec 10, 2015
scales.rmd Minor typesetting and layout tweaks Feb 27, 2016
themes.rmd Use old bookdown package Feb 26, 2016
tidy-data.rmd Use old bookdown package Feb 26, 2016
todo.numbers Complete indexing and layout. Woo hoooooo! Aug 20, 2015
toolbox.rmd Minor typesetting and layout tweaks Feb 27, 2016

README.md

ggplot2 book

Build Status

This is code and text behind the ggplot2 book. Please help us make it better by contributing!

Build the book

You can build the pdf by cloning this repo and running make:

git clone https://github.com/hadley/ggplot2-book.git
cd ggplot2-book
make clean
make

If you use RStudio, you can press Cmd/Ctrl + Shift + B to run make.

Installing dependencies

To successfully build this book, you'll need:

Install the R dependencies with:

library(devtools)
if (packageVersion("devtools") < "1.9.1") {
  message("Please upgrade devtools")
}
devtools::install_deps()

Internal links

To link between sections, use internal links of the form #header-id. All header references are listed in toc.yaml.