as.dlist: Creates a distributed list from the input.

Description Usage Arguments Value References See Also Examples

View source: R/dobject.R

Description

Creates a distributed list from the input.

Usage

1
2
3
as.dlist(items, nparts = NULL)

as.DList(items, nparts = NULL)

Arguments

items

The object to convert to a dlist.

nparts

The number of partitions in the resulting dlist.

Value

A dlist converted from the input. Note that a list of partitions (resulting from the use of parts()) may be used with as.dlist. This will recombine those partitions into a single distributed object.

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

See Also

dlist

Examples

1
2
3
4
5
6
## Not run: 
a <- as.dlist(list(1,2,3,4)) # A dlist with elements 1 to 4.
## A new dlist with only 2 partitions, which were partitions 3 and 4 of 'a'.
b <- as.dlist(parts(a,c(3,4)))

## End(Not run)

ddR documentation built on May 29, 2017, 6:52 p.m.