lapply_rdd: Apply a Function over an rddlist

Description Usage Arguments Value Examples

Description

Modeled after lapply in base R

Usage

1
lapply_rdd(X, FUN, cache = TRUE)

Arguments

X

rddlist

FUN

function to apply to each element of X

cache

logical - Should the resulting RDD be cached in Spark's memory?

Value

rddlist A Spark Java Object representing the resulting rddlist

Examples

1
2
3
x <- list(1:10, letters, rnorm(10))
xrdd <- rddlist(sc, x)
lapply_rdd(xrdd, head)

clarkfitzg/rddlist documentation built on May 13, 2019, 7:35 p.m.