powered by
Export a plotly graph to a static file
export(p, file = "plotly.png", ...)
a plotly or ggplot object.
a filename. See the file argument of webshot::webshot for valid extensions.
webshot::webshot
arguments passed onto webshot::webshot
# NOT RUN { export(plot_ly(economics, x = ~date, y = ~pce)) # }
Run the code above in your browser using DataLab