Please note that this package’s code has been moved to ropensci/plotly so please refer to that page for the most up-to-date code.
install.packages("devtools")
library(devtools)
install_github("plotly", "ropensci")
library(ggplot2)
library(plotly)
py <- plotly("YOUR_USERNAME", "YOUR_KEY")
ggiris <- qplot(Petal.Width, Sepal.Length, data=iris, color=Species)
py$ggplotly(gg)