关于RStudio3.2.2 安装包失败

当RStudio3.2.2安装包失败时,可通过更换CRAN镜像解决。具体步骤包括访问http://mirror.bjtu.edu.cn/cran/选择镜像,编辑R软件目录下的Rprofile.site文件,添加设置指定新的CRAN镜像地址,如http://mirrors.xmu.edu.cn/CRAN/,然后在R Console中正常安装包。
摘要由CSDN通过智能技术生成
Warning in install.packages :
  InternetOpenUrl failed: '无法与服务器建立连接'
Warning in install.packages :
  InternetOpenUrl failed: '无法与服务器建立连接'
Warning in install.packages :
  unable to access index for repository https://cran.rstudio.com/bin/windows/contrib/3.2
Packages which are only available in source form, and may
  need compilation of C/C++/Fortran: ‘reshape2’ ‘NMF’
  ‘igraph’
  These will not be installed
installing the source packages ‘ggplot2’, ‘magrittr’, ‘irlba’

trying URL 'https://cran.rstudio.com/src/contrib/ggplot2_1.0.1.tar.gz'
Warning in install.packages :
  InternetOpenUrl failed: '无法与服务器建立连接'
Error in download.file(url, destfile, method, mode = "wb", ...) : 
  cannot open URL 'https://cran.rstudio.com/src/contrib/ggplot2_1.0.1.tar.gz'
Warning in install.packages :
  download of package ‘ggplot2’ failed
trying URL 'https://cran.rstudio.com/src/contrib/magrittr_1.5.tar.gz'</
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值