ddo: Instantiate a Distributed Data Object ('ddo')

Description Usage Arguments Examples

Description

Instantiate a distributed data object ('ddo')

Usage

1
ddo(conn, update = FALSE, reset = FALSE, control = NULL, verbose = TRUE)

Arguments

conn

an object pointing to where data is or will be stored for the 'ddf' object - can be a 'kvConnection' object created from localDiskConn or hdfsConn, or a data frame or list of key-value pairs

update

should the attributes of this object be updated? See updateAttributes for more details.

reset

should all persistent metadata about this object be removed and the object created from scratch? This setting does not effect data stored in the connection location.

control

parameters specifying how the backend should handle things if attributes are updated (most-likely parameters to rhwatch in RHIPE) - see rhipeControl and localDiskControl

verbose

logical - print messages about what is being done

Examples

1
2
3
kv <- kvPairs(kvPair(1, letters), kvPair(2, rnorm(100)))
kvddo <- ddo(kv)
kvddo

datadr documentation built on May 1, 2019, 8:06 p.m.