Section |
---|
Column |
---|
| On Related Pages Page Tree |
---|
root | SCICOMP:@parent |
---|
startDepth | 3 |
---|
|
|
|
...
Word Count In R
The following example in R performs MapReduce on a large input corpus and counts the number of times each word occurs in the input.
...
Name this script bootstrapLatestR.sh
and it should contain the following code:
Iframe |
---|
src | http://sagebionetworks.jira.com/source/browse/~raw,r=HEAD/PLFM/users/deflaux/scripts/EMR/rWordCountExample/bootstrapLatestR.sh |
---|
style | height:250px;width:80%; |
---|
|
hello world
What is going on in this script?
...
Iframe |
---|
src | http://sagebionetworks.jira.com/source/browse/~raw,r=HEAD/PLFM/users/deflaux/scripts/EMR/rWordCountExample/mapper.R |
---|
style | height:300px;width:80% |
---|
|
iframe |
Create the reducer script
...