当我尝试安装这样的软件包时:install.packages("RGtk2")
我收到以下错误:
Warning in install.packages :
package ‘RGtk2’ is not available (for R version 3.3.2)
Warning in install.packages :
URL 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.3/PACKAGES.gz': status was 'SSL connect error'
Warning in install.packages :
URL 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.3/PACKAGES': status was 'SSL connect error'
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.3:
cannot download all files
如何禁用SSL以使安装顺利进行?我知道从安全的角度来看通常这是不好的,但是在这种情况下,我可以肯定会发生SSL错误,因为有些公司代理服务器会以某种方式更改证书。