Cannot install the shiny package in R

こ雲淡風輕ζ 提交于 2019-12-25 00:25:50

问题


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


回答1:


Try installing the dependency packages:

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

After thereafter try to install shiny again:

install.packages(c("shiny"))

Let me know if it works.



来源:https://stackoverflow.com/questions/52101296/cannot-install-the-shiny-package-in-r

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!