问题
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 schemeIf 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