summaryrefslogtreecommitdiff
path: root/benchmark/README.md
diff options
context:
space:
mode:
authorLucas Holmquist <lholmqui@redhat.com>2016-12-09 20:01:00 -0500
committerLance Ball <lball@redhat.com>2016-12-15 16:50:06 -0500
commiteceef769183a3abecb4768198e840cf6648458d4 (patch)
tree3dfd04af5a41c3a666399e3b6ef51a1be6e89719 /benchmark/README.md
parent4a5c719be50c7998684768b54d06860cb2c1d6fb (diff)
downloadandroid-node-v8-eceef769183a3abecb4768198e840cf6648458d4.tar.gz
android-node-v8-eceef769183a3abecb4768198e840cf6648458d4.tar.bz2
android-node-v8-eceef769183a3abecb4768198e840cf6648458d4.zip
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: https://github.com/nodejs/node/issues/10204 PR-URL: https://github.com/nodejs/node/pull/10211 Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
Diffstat (limited to 'benchmark/README.md')
-rw-r--r--benchmark/README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/benchmark/README.md b/benchmark/README.md
index a90f0f548f..bbabcf4c4e 100644
--- a/benchmark/README.md
+++ b/benchmark/README.md
@@ -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