list: Distributed List Class

Description Usage Arguments Value Examples

Description

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

Usage

1
2
3
4
5
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

1
2
3
4
5
6
7
8
## 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()

Example output

[1] TRUE
DStorage.
- Type: LFS
- Base directory on storage: /work/tmp/tmp/RtmpKAWwLF
- Current chunk size [bytes]: 10485760
         used (Mb) gc trigger (Mb) max used (Mb)
Ncells 259698 13.9     460000 24.6   350000 18.7
Vcells 458524  3.5    1023718  7.9   786431  6.0

DSL documentation built on Jan. 28, 2020, 5:10 p.m.

Related to list in DSL...