Download a dynamic plotly graph using dynamic downloadHandler() from a shiny app

后端 未结 1 2032
刺人心
刺人心 2021-01-16 05:27

I have the shiny app below from which Im trying to download the plotly graph through downloadHandler(). The issue is that the object that Im trying to download

相关标签:
1条回答
  • 2021-01-16 05:59

    According to the ploty site use the following code:

    if (!require("processx")) install.packages("processx")
    
    p <- plot_ly(z = ~volcano) %>% add_surface()
    
    orca(p, "surface-plot.png")
    
    0 讨论(0)
提交回复
热议问题