ConstantArraySeed: Saving a ConstantArraySeed

saveDelayedObject,ConstantArraySeed-methodR Documentation

Saving a ConstantArraySeed

Description

Save a ConstantArraySeed object. See the “Constant array” section at https://ltla.github.io/chihaya for more details.

Usage

## S4 method for signature 'ConstantArraySeed'
saveDelayedObject(x, file, name)

Arguments

x

A ConstantArraySeed object.

file

String containing the path to a HDF5 file.

name

String containing the name of the group to save into.

Value

A NULL, invisibly. A group is created at name containing the contents of the ConstantArraySeed.

Author(s)

Aaron Lun

Examples

X <- ConstantArray(value=NA_real_, dim=c(11, 25))
temp <- tempfile(fileext=".h5")
saveDelayed(X, temp)
rhdf5::h5ls(temp)
loadDelayed(temp)


LTLA/DelayedArraySaver documentation built on Oct. 11, 2023, 1:33 p.m.