title: Error in function (type, msg, asError = TRUE)
body: <p>When I try to convert my ggplot2 graphic in R to plotly, it gives the following error message. What does it mean? </p>
  
  <p>(R version: R version 3.0.2 (2013-09-25)</p>
  
  <p>"Error in function (type, msg, asError = TRUE) : </p>
  
  <p>Here is the full code:</p>
  
  <pre><code>library(ggplot2)
  flowers&lt;-ggplot(iris, aes(x=Sepal.Length, y=Petal.Length)) + geom_point(col="blue")
  library(plotly)
  
  set_credentials_file("MyUsername", "Mykey") ## i left out my logins
  py &lt;- plotly()
  r&lt;-py$ggplotly(flowers)
  r$response$url
  </code></pre>