Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update rmr2/docs/tutorial.md #166

Closed
wants to merge 1 commit into from

2 participants

@HughDevlin

groups used but undefined in example

@HughDevlin HughDevlin Update rmr2/docs/tutorial.md
groups used but undefined in example
19c9407
@piccolbo
Owner

Code is segmented throughout the document so each code block is not executable in isolation, at least that's not the goal and trying to make it so would make each block too big. groups is defined only a few lines above, as you certainly have noticed. The code in its original form is checked as part of our testing process. If you go to the original file, tutorial.Rmd, you can see at the top the list of R files from which the chunks are taken. Finally, all md files in the source package are generated from Rmd files by the same name using knitr and RStudio, any change to them will be overwritten. Please see https://github.com/RevolutionAnalytics/RHadoop/wiki/Documentation-guidelines-for-rmr

@piccolbo piccolbo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 14, 2012
  1. @HughDevlin

    Update rmr2/docs/tutorial.md

    HughDevlin authored
    groups used but undefined in example
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 2 deletions.
  1. +1 −2  rmr2/docs/tutorial.md
View
3  rmr2/docs/tutorial.md
@@ -5,7 +5,6 @@
-
# Mapreduce in R
## My first mapreduce job
@@ -54,7 +53,7 @@ This creates a sample from the binomial and counts how many times each outcome o
```r
- groups = to.dfs(groups)
+ groups = to.dfs(rbinom(32, n = 50, prob = 0.4))
from.dfs(
mapreduce(
input = groups,
Something went wrong with that request. Please try again.