How to stop the automatic lauch of browser when using R API?

Hello, is there a way not to automatically launching the web browser when using plotly_POST?


You can set plotly_POST() to a variable i.e.:

library(plotly) p <- plot_ly(x = c(1, 2), y = c(1, 2)) plot <- plotly_POST(p)

Then the Success! message with the plot URL will be returned, but the web browser won’t launch.