Learn R Programming

ddR (version 0.1.2)

dlist: Creates a distributed list with the specified partitioning and data.

Description

Creates a distributed list with the specified partitioning and data.

Usage

dlist(..., nparts = NULL)
DList(..., nparts = NULL)

Arguments

...
values to initialize the dlist (optional).
nparts
number of partitions in the dlist. If NULL, nparts will equal the length of ...

Value

A dlist containing the data in ..., or an empty dlist, partitioned according to nparts.

References

Prasad, S., Fard, A., Gupta, V., Martinez, J., LeFevre, J., Xu, V., Hsu, M., Roy, I. Large scale predictive analytics in Vertica: Fast data transfer, distributed model creation and in-database prediction. _Sigmod 2015_, 1657-1668.

Venkataraman, S., Bodzsar, E., Roy, I., AuYoung, A., and Schreiber, R. (2013) Presto: Distributed Machine Learning and Graph Processing with Sparse Matrices. _EuroSys 2013_, 197-210.

Homepage: https://github.com/vertica/ddR

Examples

Run this code
## Not run: 
# ## A dlist containing 2 partitions, with data 1 to 4.
# a <- dlist(1,2,3,4,nparts=2)
# collect(a)
# ## End(Not run)

Run the code above in your browser using DataLab