Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ivokwee opened this issue Jun 17, 2020 · 1 comment
Open

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

ivokwee opened this issue Jun 17, 2020 · 1 comment

Comments

@ivokwee
Copy link

@ivokwee ivokwee commented Jun 17, 2020

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
Copy link
Author

@ivokwee ivokwee commented Jun 22, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.