load_hybrid_array: Load Hybrid Array Stored in Hard Disk

Description Usage Arguments Examples

Description

Load Hybrid Array Stored in Hard Disk

Usage

1

Arguments

path

directory where hybrid array is stored

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Create an array
data <- rnorm(1e5)
x <- hybrid_array(data, c(100, 100, 10))

# save to disk
x$swap_out()
path = x$file_location

# Load from disk
y = load_hybrid_array(path)

# check
range(y[] - x[]) # should be 0,0

dipterix/harray documentation built on May 13, 2019, 12:29 a.m.