成功部署 R 应用程序后,在网页中显示仪表板时收到错误消息(发生错误。应用程序无法启动。)通过说明
"Installing packages into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Warning in install.packages(new.packages) :
'lib = "/usr/local/lib/R/site-library"' is not writable
Error in value[[3L]](cond) : unable to install packages
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted"
因此,在不从 R 代码中删除所有安装包的情况下,您能否建议,有没有办法在 shinyapps.io 的免费版本中支持必要的包?