Skip to content

Instantly share code, notes, and snippets.

@elmerehbi
Created November 29, 2017 22:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elmerehbi/88d30cf8b09dc933335c4529dda2d752 to your computer and use it in GitHub Desktop.
Save elmerehbi/88d30cf8b09dc933335c4529dda2d752 to your computer and use it in GitHub Desktop.
# temporary Rprofile to hardcode a CRAN mirror
# needed to install R packages (r-customize.R)
# You may replace this profile before or after installtion
# & customization.
.First <- function() {
options(
# repos = c(CRAN = "https://cran.rstudio.com/"),
repos = c(CRAN = "https://mran.microsoft.com/."),
browserNLdisabled = TRUE,
deparse.max.lines = 2,
unzip = 'internal') # needed for devtools::install_github
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment