【发布时间】:2019-04-03 22:06:56
【问题描述】:
当我将我的应用发布到 shinyapps.io 时,我遇到了以下问题:
- PhantomJS
- file(con, "rb"): 无法打开连接
输出pdf文件中的完整日志:
PhantomJS not found. You can install it with webshot::install phantomjs(). If it is installed, please make sure the phantomjs executable can be found via the PATH variable.
Warning in normalizePath(f2): path[1]="./webshot6c3d201217.pdf": No such file or directory
Warning in file(con, "rb"): cannot open file ’./webshot6c3d201217.pdf’: No such file or directory
Error in file(con, "rb"): cannot open the connection
A tibble: 0 x 2
... with 2 variables: group <chr>, sort.order <dbl>
PhantomJS not found. You can install it with webshot::install phantomjs(). If it is installed, please make sure the phantomjs executable can be found via the PATH variable.
Warning in normalizePath(f2): path[1]="./webshot6c23dc44d3.pdf": No such file or directory
Warning in file(con, "rb"): cannot open file ’./webshot6c23dc44d3.pdf’: No such file or directory
Error in file(con, "rb"): cannot open the connection
在本地 Shiny 服务器上安装 PhantomJS 后,我可以成功创建 PDF,但是,我不知道如何在 shinyapps.io 上解决它。
【问题讨论】: