| space.hdf5.dataset {rhdf5} | R Documentation |
Selection of elements (and a few other things) for HDF5 datasets is carried out via a data space. These function provides a handle to a dataspace that can be used for various purposes.
space(set, ...) space.hdf5.dataset(set, ...) hdf5.select.hyperslab(space, selop = "SET", start, stride, count, block)
set |
An HDF5 dataset. |
... |
Extra arguments, currently ignored. |
space |
An instance of the hdf5.dataspace class. |
selop |
The selection operator. One of SET or OR. |
start |
The start location for each hyperslab. |
stride |
The stride for each hyperslab. |
count |
The count for each hyperslab. |
block |
The block for each hyperslab. |
space.hdf5.dataset is an interface to the HDF5 function
H5Dget_space.
hdf5.select.hyperslab is an interface to the HDF5 function
H5Sselect_hyperslab.
Readers are referred to the HDF5 documentation for specific details.
space.hdf5.dataset returns an object of class
hdf5.dataspace if successful.
hdf5.select.hyperslab modifies the values in the space
argument.
R. Gentleman
x1 <- hdf5.open("aaa")
x2 <- hdf5.dataset(x1, "hi", dims=c(10, 10))
v <- space(x2)
v