I'm trying to export a static image in R using orca(), but it ignores the file path and just exports it to the current location of the script that I'm running.
For example, if I run orca(image, "/images/plot1.png") from a script located in /code/script.R, it saves it to /code/plot1.png instead of where I specified.
I'm trying to export a static image in R using orca(), but it ignores the file path and just exports it to the current location of the script that I'm running.
For example, if I run
orca(image, "/images/plot1.png")from a script located in/code/script.R, it saves it to/code/plot1.pnginstead of where I specified.