powered by
as.widget(x, ...)
htmlwidgets::createWidget
p <- plot_ly(mtcars, x = mpg, y = disp, mode = "markers") htmlwidgets::saveWidget(as.widget(p), "index.html")
Run the code above in your browser using DataLab