我有一些plotly
图,需要另存为pdf / eps文件才能添加到LaTex报告中。目前,我正在使用orca
来实现此目标,但是它很慢,是否有另一种更快的方法来实现?
library(plotly)
library(orca)
pname <- plot_ly(...) # plotly plot object
fname <- 'sample_file' # file name to save plot as
orca(p = pname, file = fname, format = 'pdf', width = 1600, height = 1000)