saveDelayedObject,HDF5ArraySeed-method | R Documentation |
Save HDF5ArraySeed or H5SparseMatrix objects or their subclasses. See “External HDF5 arrays” at https://artifactdb.github.io/chihaya/ for more details.
## S4 method for signature 'HDF5ArraySeed'
saveDelayedObject(x, file, name)
## S4 method for signature 'H5SparseMatrixSeed'
saveDelayedObject(x, file, name)
x |
A HDF5ArraySeed or H5SparseMatrix object or subclass thereof. |
file |
String containing the path to a HDF5 file. |
name |
String containing the name of the group to save into. |
A NULL
, invisibly.
A group is created at name
containing the contents of the HDF5-based seed.
Aaron Lun
library(HDF5Array)
X <- writeHDF5Array(matrix(runif(100), ncol=20))
Y <- X + 1
temp <- tempfile(fileext=".h5")
saveDelayed(Y, temp)
rhdf5::h5ls(temp)
loadDelayed(temp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.