Closed jchiquet closed 11 months ago
You have to install the phantomjs endpoint for webshot as done in the .Renviron file:
setHook(packageEvent("plotly","onLoad"), function (...) webshot::install_phantomjs())
Just do webshot::install_phantomjs()
otherwise.
It’s needed only to render static “screenshots” of web only plots rendered by plotly or htmlwidgets for pdf/latex outputs.
Thanks, for the records, I had to set the following environment variable for this to work export OPENSSL_CONF=/etc/ssl
(in term) and force the install of phantom.js with webshot::install_phantomjs(force = TRUE)
(in R)
Already reported there: https://github.com/wch/webshot/issues/90
The rendering of the PDF fails on my machine with the following error
It may be due to the fact that reticulate uses Python version 3.8 : @fradav , do you have any clue on this problem ?
thanks.