Open AMillanFL opened 4 years ago
By default, when orca is installed using conda, only orca.cmd is available on PATH. And when you run orca
in command line it is found by the shell. But when you run plotly::orca()
it uses processx::run()
which, in turn, uses CreateProcessW
and this function does not support running command files.
To run a batch file, you must start the command interpreter; set lpApplicationName to cmd.exe and set lpCommandLine to the following arguments: /c plus the name of the batch file.
The workaround is to add folder with orca.exe to PATH. But, ideally, on Windows, R orca library could check if orca.cmd is available and then change command line, or run orca in some other way.
Hello,
Trying to use orca on Rstudio 1.3.959 (windows 10, R-4.0.0) after the simple command :
I have this error message
In bash command line when I call orca lihe this
orca graph "{ \"data\": [{\"y\": [1,2,1]}] }" -o fig.png
every thing works fine.I don't understand the Command 'orca' not found @win/processx.c:983 error message.
Many thanks for your lights.