Last active
January 4, 2022 19:25
-
-
Save fearless-spider/cc2f12b0f7eebd79eebc3adbf938bc0b to your computer and use it in GitHub Desktop.
Select mirrors for R packages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Default repo | |
| local({r <- getOption("repos") | |
| r["CRAN"] <- "http://cran.r-project.org" | |
| options(repos=r) | |
| }) | |
| or | |
| chooseCRANmirror(81) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment