我正在使用Rstudio 3.2.1。我无法安装xlsx
包。以下是我所做的和收到的:
install.packages("xlsx")
Warning in install.packages :
unable to access index for repository /src/contrib
Installing package into ‘C:/Users/shivanshu/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
Warning in install.packages :
unable to access index for repository /src/contrib
Warning in install.packages :
package ‘xlsx’ is not available (for R version 3.2.1)
Warning in install.packages :
unable to access index for repository /bin/windows/contrib/3.2
如何解决此问题?
答案 0 :(得分:0)
镜子可能有问题。尝试从CRAN中选择全局镜像。如果这不起作用,那么您可能遇到防火墙或代理问题。