plotly / orca

Command line application for generating static images of interactive plotly charts
MIT License
293 stars 40 forks source link

server export cannot create nested (recursive) output folder (in R) #335

Open ivokwee opened 4 years ago

ivokwee commented 4 years ago

Using orca (in R) the server cannot create nested output folder

server$export(qplot(1:10), "/tmp/subdir/test3.pdf")

gives

cannot open file '/tmp/subdir/test3.pdf': No such file or directory

whereas

orca(p, "/tmp/subdir/plot3.pdf")

creates the recursive path "correctly" but wrongly in the current folder (see my other bug report).