orca
orca copied to clipboard
orca (in R) does not save in /tmp relative to root
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")
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.
I am also running into this bug. Any workaround available?