简体   繁体   English

无法在R 3.2.1中安装xlsx软件包

[英]can't install xlsx package in R 3.2.1

I am using Rstudio 3.2.1. 我正在使用Rstudio 3.2.1。 And am unable to install the xlsx package. 并且无法安装xlsx软件包。 Following is what I did and received: 以下是我的工作和收到的内容:

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

How can I fix this problem? 我该如何解决这个问题?

It may be a problem with your mirror. 您的镜子可能有问题。 Try selecting global mirror from CRAN. 尝试从CRAN中选择全局镜像。 If this doesn't work, then you may have a problem with a firewall or proxy. 如果这不起作用,则可能是防火墙或代理存在问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM