Learn R Programming

DSL (version 0.1-4)

DList: Distributed List Class

Description

Functions to construct, coerce, check for, and interact with storage of objects of class "DList".

Usage

DList( ... )
as.DList( x, DStorage = NULL, ... )
is.DList( x )
DL_storage( x )
`DL_storage<-`( x, value )

Arguments

...
objects, possibly named.
x
an object.
DStorage
an object representing the virtual (distributed) storage for storing data. See class "DStorage" for details.
value
the new storage of class DStorage attached to the "DList".

Value

  • An object of class "DList" or, in case of DL_storage(), an object of class "DStorage".

Examples

Run this code
## coerce to 'DList' object using a default virtual storage
l <- list( cow = "girl", bull = "boy" )
dl <- as.DList( l )
is.DList( dl )
DL_storage(dl)
## remove DList and garbage collect it
rm(dl)
gc()

Run the code above in your browser using DataLab