orca icon indicating copy to clipboard operation
orca copied to clipboard

orca (in R) does not save in /tmp relative to root

Open ivokwee opened this issue 4 years ago • 2 comments

using

orca(p, "/tmp/plot.pdf")

the plot gets saved relative to the current folder ./tmp/plot.pdf and not in /tmp/plot.pdf (relative to root). Using the server it does properly save relative to root

server$export(p, "/tmp/plot.pdf")

ivokwee avatar Jun 17 '20 23:06 ivokwee

also the command line program has the same bug:

orca-1.3.1.AppImage graph '{ "data": [{"y": [1,2,1]}] }' -o /tmp/fig.pdf --format pdf

The figure fig.pdf gets created in a subfolder tmp beneath the current folder, not the /tmp (under root). I think this is an important bug because many times temporary files must be created in the /tmp.

ivokwee avatar Jun 22 '20 14:06 ivokwee

I am also running into this bug. Any workaround available?

nlooije avatar Oct 14 '21 07:10 nlooije