Unsupported URL scheme error, how to use “https” CRAN mirrors in R 3.2.4?

纵然是瞬间 提交于 2019-12-07 18:56:36

问题


When I run install.packages("packagename") I get prompted to choose a CRAN mirror.

  • If I choose a https mirror the following error message comes up:

    unsupported URL scheme 
    
  • If I choose a http mirror (choice 22), installation goes on without this warning.

How do I make install.packages() support https mirrors?

I'm using a 32 bit version of R if that is of any importance.


回答1:


Try this: install.packages("packagename", repos="http://cran.cnr.berkeley.edu")



来源:https://stackoverflow.com/questions/36550221/unsupported-url-scheme-error-how-to-use-https-cran-mirrors-in-r-3-2-4

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!