无法在 R 中安装闪亮的包 [英] Cannot install the shiny package in R
本文介绍了无法在 R 中安装闪亮的包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在 R 中安装闪亮的包,但我不断收到此错误:
I am trying to install the shiny package in R but I keep getting this error:
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
如果有人在过去遇到过这个问题,我将不胜感激.谢谢
If anyone has had this issue in the past I would appreciate the help. Thanks
推荐答案
尝试安装依赖包:
install.packages(c("later","promises","rlang"))
此后尝试再次安装闪亮:
After thereafter try to install shiny again:
install.packages(c("shiny"))
让我知道它是否有效.
这篇关于无法在 R 中安装闪亮的包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文