Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

How to install development version of ggplot2

View gist:1150934
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
# install devtools
install.packages('devtools')
 
# install dependency of scales package
install.packages(c("RColorBrewer", "stringr", "dichromat", "munsell", "plyr", "colorspace"))
 
# load devtools
library(devtools)
 
# move to development mode
# scales and ggplot2 are installed in "~/R-dev" directory, so official version of ggplot2 are not removed.
dev_mode(TRUE)
 
install_github("scales")
# main branch of development
install_github("ggplot2", "hadley", "develop")
#install_github("ggplot2", "kohske", "feature/new-guides-with-gtable")
 
# load development version of ggplot2
library(ggplot2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.