I used rstudio-server with rmarkdown. and I just wrote orca(fig, "time_vocano.pdf") in .Rmd file. the error is this:
Warning: 'orca' is deprecated.
Use 'kaleido' instead.
See help("Deprecated")
Error: System command 'orca' failed, exit status: -5, stderr:
E> No protocol specified
E> Unable to init server: Could not connect: Connection refused
E> No protocol specified
E> Unable to init server: Could not connect: Connection refused
E> No protocol specified
E>
E> (orca:1940217): dbind-WARNING **: 14:28:00.289: Could not open X display
E>
E> (orca:1940217): dbind-ERROR **: 14:28:00.293: AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running?
Stack trace:
1. plotly:::orca(fig, "time_vocano.pdf")
2. plotly:::orca_available()
3. plotly:::correct_orca()
4. processx::run("orca", "-h")
5. throw(new_process_error(res, call = sys.call(), echo = echo, ...
x System command 'orca' failed, exit status: -5, stderr:
E> No protocol specified
E> Unable to init server: Could not connect: Connection refused
E> No protocol specified
E> Unable to init server: Could not connect: Connection refused
E> No protocol specified
E>
E> (orca:1940217): dbind-WARNING **: 14:28:00.289: Could not open X display
E>
E> (orca:1940217): dbind-ERROR **: 14:28:00.293: AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running?
should I use orca_server? Or what could I do to export static figures from R-plotly?
Thanks!
I used rstudio-server with rmarkdown. and I just wrote
orca(fig, "time_vocano.pdf")
in .Rmd file. the error is this:should I use orca_server? Or what could I do to export static figures from R-plotly? Thanks!