Install:
install.packages("devtools")
library("devtools")
install_github("plotly", "ropensci")
Load:
library("plotly")
## Loading required package: RCurl
## Warning: package 'RCurl' was built under R version 3.1.1
## Loading required package: bitops
## Loading required package: RJSONIO
## Loading required package: ggplot2
Sign up online, use our public keys below, or sign up like this:
py <- plotly(username="r_user_guide", key="mw5isa4yqp") # open plotly connection
It just works.
ggiris <- qplot(Petal.Width, Sepal.Length, data = iris, color = Species)
py$ggplotly(ggiris) # send to plotly