Commands for installing the latest version of ggplot2 and plotly:

devtools::install_github("rstudio/crosstalk")
devtools::install_github('hadley/ggplot2')
devtools::install_github("ropensci/plotly")

You may also need to manally install htmlwidget 0.8
