无法在R中安装闪亮的软件包

时间:2018-08-30 16:05:01

标签: r shiny rstudio install.packages

我正在尝试在R中安装闪亮的软件包,但一直出现此错误:

ERROR: dependencies 'later', 'promises', 'rlang' are not available for 
package 'shiny'
* removing 'C:/Users/sawyer.keels/Documents/R/win-library/3.2/shiny'

The downloaded source packages are in

‘C:\Users\sawyer.keels\AppData\Local\Temp\RtmpuWfNw6\downloaded_packages’
Warning messages:
1: running command '"C:/PROGRA~1/R/R-32~1.4RE/bin/x64/R" CMD INSTALL -l "C:\Users\sawyer.keels\Documents\R\win-library\3.2" C:\Users\SAWYER~1.KEE\AppData\Local\Temp\RtmpuWfNw6/downloaded_packages/shiny_1.1.0.tar.gz' had status 1 
2: In install.packages("shiny") :
  installation of package ‘shiny’ had non-zero exit status

如果过去曾有人遇到过此问题,请提供帮助。 谢谢

1 个答案:

答案 0 :(得分:0)

尝试安装依赖项软件包:

install.packages(c("later","promises","rlang"))

此后,请尝试再次安装有光泽的

install.packages(c("shiny"))

让我知道它是否有效。