Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 632 Bytes

cran-mirrors.md

File metadata and controls

13 lines (8 loc) · 632 Bytes

CRAN Mirrors

A CRAN mirror is a server that hosts copies of the Comprehensive R Archive Network's repository. These mirrors are distributed globally to provide faster access and reliability when downloading R packages.

How to Choose a CRAN Mirror:

  1. Select a Nearby Mirror: Choose one geographically close to you for faster download speeds. https://cran.r-project.org/mirrors.html Mirror status available at https://cran.r-project.org/mirmon_report.html.

  2. options(repos = "https://cran.stat.auckland.ac.nz/")

  3. Or use RStudio: Go to Tools > Global Options > Packages. Click Change to select a mirror.