Save R Plot To Chart Studio
plotly R package, you can create a Chart Studio figure based on your R chart. Simply pass your chart as a parameter to the
library(plotly) p <- plot_ly(data = iris, x = ~Sepal.Length, y = ~Petal.Length) api_create(p)
How To Overwrite An Existing Plot
By default, when you call
api_create(), a new plot is created in your Chart Studio account with its own unique URL.
If you would like to overwrite an existing plot in your Chart Studio account and keep the same URL, then supply a
filename as an extra parameter to the
api_create() function. This will keep the same URL for the plot.
api_create(p, filename = "name-of-my-plotly-file")
Saving Plots In Folders
filename parameter contains the character "/", then the
api_create() function will save that plot in a folder in your Chart Studio account.
This option is only available for Chart Studio Enterprise subscribers
Viewing Saved Plots
View the R graphs you have saved in your Chart Studio account at https://plotly.com/organize.