Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/regex/17.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
为什么我不能从CRAN为R 3.2.3安装dplyr?_R_Dplyr - Fatal编程技术网

为什么我不能从CRAN为R 3.2.3安装dplyr?

为什么我不能从CRAN为R 3.2.3安装dplyr?,r,dplyr,R,Dplyr,尝试在R3.2.3下安装dplyr软件包时收到错误消息 > install.packages("dplyr") Warning: unable to access index for repository https://cran.cnr.Berkeley.edu/src/contrib: Line starting '<!DOCTYPE HTML PUBLI ...' is malformed! Warning message: package ‘dplyr’ is not ava

尝试在R3.2.3下安装
dplyr
软件包时收到错误消息

> install.packages("dplyr")
Warning: unable to access index for repository https://cran.cnr.Berkeley.edu/src/contrib:
Line starting '<!DOCTYPE HTML PUBLI ...' is malformed!
Warning message:
package ‘dplyr’ is not available (for R version 3.2.3)
>install.packages(“dplyr”)
警告:无法访问存储库的索引https://cran.cnr.Berkeley.edu/src/contrib:

行开始“I也无法从存储库
US(CA 1)[https]
使用
R 3.2.3
安装plyr。下面是我收到的错误消息:

--- Please select a CRAN mirror for use in this session ---
Warning: unable to access index for repository https://cran.cnr.Berkeley.edu/src/contrib:
  cannot open URL 'https://cran.cnr.Berkeley.edu/src/contrib/PACKAGES'
Warning: unable to access index for repository https://cran.cnr.Berkeley.edu/bin/windows/contrib/3.2:
  cannot open URL 'https://cran.cnr.Berkeley.edu/bin/windows/contrib/3.2/PACKAGES'
Warning message:
package ‘dplyr’ is not available (for R version 3.2.3) 
出于好奇,我尝试从同一存储库安装其他软件包,例如
ggplot2
。我所有的尝试都是徒劳的


解决方案是选择另一个存储库,例如
西班牙(马德里)https

我得到了相同的错误。我放弃了等待网站管理员修复它,去了Fred Hutch(西雅图)的回购协议。FWIW,我认为根本的问题是该网站被设置为http://并且在CRAN回购协议列表中被错误分类为https://没有理由不默认为
https://cran.rstudio.com
这是一种)快速,b)在cdn上,因此“网络接近”任何人,c)以专业方式托管。我刚刚将我的R版linux RHEL-6更新为3.2.3,遇到了同样的问题。尝试Rstudio-cran-repo会出现同样的错误,但改为
http
而不是
https
会解决这个问题。