Permalink
Browse files

doc: document R CRAN mirror process

The current benchmark docs showing how to install R packages
doesn't go into how to specify a CRAN mirror.

This commit shows how to specify the repo parameter when
installing a package.

Fixes: #10204
PR-URL: #10211
Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
  • Loading branch information...
lholmquist authored and lance committed Dec 10, 2016
1 parent 4a5c719 commit eceef769183a3abecb4768198e840cf6648458d4
Showing with 15 additions and 0 deletions.
  1. +15 −0 benchmark/README.md
View
@@ -50,6 +50,21 @@ install.packages("ggplot2")
install.packages("plyr")
```
### CRAN Mirror Issues
In the event you get a message that you need to select a CRAN mirror first.
You can specify a mirror by adding in the repo parameter.
If we used the "http://cran.us.r-project.org" mirror, it could look somehting like
this:
```R
install.packages("ggplot2", repo="http://cran.us.r-project.org")
```
Of course, use the mirror that suits your location.
A list of mirrors is [located here](https://cran.r-project.org/mirrors.html).
## Running benchmarks
### Running individual benchmarks

0 comments on commit eceef76

Please sign in to comment.