No observation is shown in the plot


I wanted to try Plotly library in R. Just to try quickly this library I have tried one example from this page :

After submiting the exact same code :


p <- plot_ly(data = iris, x = ~Sepal.Length, y = ~Petal.Length)

Here is what I get :
But when

I don’t know why but no observations is shown in the plot.

Seems to work fine for me (, perhaps try updating: install.packages("plotly") or devtools::install_github("ropensci/plotly") for the development version.

I have updated the package but nothing changed.
I tried removing the “~” into the x and y variable and it worked.

Thank you