dim.hdf5 {rhdf5}R Documentation

Obtain the dimensions of an HDF5 object.

Description

For objects of classes hdf5.dataset and hdf5.dataspace the HDF5 dimension is obtained and returned. For all other HDF5 objects NULL is returned.

Usage

dim.hdf5(x)

Arguments

x Any object of class hdf5.

Details

This function obtains the dimension for classes hdf5.dataset and hdf5.dataspace.

Value

A vector containing the dimension information.

Author(s)

R. Gentleman

See Also

dim, hdf5

Examples

## Not run: 
   mad <- hdf5.open("microarray.h5")
   hdf5.dataset(mad, "xxx", dim=c(100, 110))
   dim(mad$xxx)
## End(Not run)

[Package rhdf5 version 1.4.0 Index]