space.hdf5.dataset {rhdf5}R Documentation

Obtain a dataspace congruent with the supplied HDF5 dataset.

Description

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.

Usage

space(set, ...)
space.hdf5.dataset(set, ...)
hdf5.select.hyperslab(space, selop = "SET", start, stride, count, block)

Arguments

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.

Details

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.

Value

space.hdf5.dataset returns an object of class hdf5.dataspace if successful.
hdf5.select.hyperslab modifies the values in the space argument.

Author(s)

R. Gentleman

References

http://hdf.ncsa.uiuc.edu/

See Also

print.hdf5.dataspace

Examples

     x1 <- hdf5.open("aaa")
     x2 <- hdf5.dataset(x1, "hi", dims=c(10, 10))
     v  <- space(x2)
     v

[Package rhdf5 version 1.4.0 Index]