看板 R_Language 關於我們 聯絡資訊
我用plotly套件 畫出的3d互動式的圖形 請問要如何存成網頁並指定儲存路徑呢? plotyly有一個函數offline 似乎符合需求 但實際執行卻會顯示以下警告 Warning messages: 1: 'offline' is deprecated. Use 'plot_ly' instead. See help("Deprecated") 2: In RColorBrewer::brewer.pal(N, "Set2") : minimal value for n is 3, returning requested palette with 3 different levels 3: In RColorBrewer::brewer.pal(N, "Set2") : minimal value for n is 3, returning requested palette with 3 different levels 不知道如何去修正這個警告 或有其他方法嗎? 感謝各位! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.109.32.9 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1589451188.A.0B1.html
locka: 那個警告是說offline函數已經被棄用,改使用plot_ly就不會 05/14 18:54
locka: 出現那個警告了。至於要存成離線使用的話,原po可以查查看h 05/14 18:54
locka: tmlwidgets::saveWidget() 05/14 18:54
easonya: 謝謝locka! 05/15 09:38