0

I try to use appshot to take an image from a shiny app. It works well on Windows, but not on my Debian server. If I try this:

  appdir <- system.file("examples", "01_hello", package = "shiny")
  appshot(appdir, "01_hello.png")

this gives this:

webshot_without_graph (without the graph)

My server is Debian 11.5 with:

If anyone can help me. Thanks a lot.

tripleee
  • 175,061
  • 34
  • 275
  • 318

1 Answers1

0

I install the 2.1.1 version of phantomjs.

Follow this https://gist.github.com/julionc/7476620 but replace 1.9.8 by 2.1.1.

It works !

  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Parth Sep 26 '22 at 10:35