DelayedSubassign: Saving a DelayedSubassign

saveDelayedObject,DelayedSubassign-methodR Documentation

Saving a DelayedSubassign

Description

Save a DelayedSubassign object into a HDF5 file. See the “Subset assignment” operation at https://artifactdb.github.io/chihaya/ for more details.

Usage

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

Arguments

x

A DelayedSubassign 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 DelayedSubassign.

Author(s)

Aaron Lun

Examples

X <- DelayedArray(matrix(runif(100), ncol=20))
X[1:2,3:5] <- matrix(-runif(6), ncol=3)
temp <- tempfile(fileext=".h5")
saveDelayed(X, temp)
rhdf5::h5ls(temp)
loadDelayed(temp)


LTLA/DelayedArraySaver documentation built on Sept. 19, 2024, 1:37 p.m.