October 2017
Beginner to intermediate
572 pages
26h 1m
English
Perform the following steps to test and debug an R MapReduce program:
> rmr.options(backend = 'local')
> b.time = proc.time()
> small.ints= to.dfs(1:100000)
> result = mapreduce(input = small.ints, map = function(k,v) cbind(v,v^2))
> proc.time() - b.time
> out = mapreduce(to.dfs(1), map = function(k, v) rmr.str(v)) Dotted pair list of 14 $ : language mapreduce(to.dfs(1), map = function(k, v) rmr.str(v)) $ : language ...
Read now
Unlock full access