Exporting PNG files from Plotly in R without internet

后端 未结 2 1396
误落风尘
误落风尘 2021-01-12 10:42

In this question, Exporting PNG files from Plotly in R I asked how to export Plotly plots to disk.

I used the function plotly_IMAGE, but later discovere

2条回答
  •  [愿得一人]
    2021-01-12 11:08

    They've added a new export function to the plotly package. But to my knowledge it does the same thing as @MLavoie's answer suggests. Usage:

    p <- plot_ly(...)
    export(p, file = "test.png")
    

提交回复
热议问题