names.hdf5.file {rhdf5}R Documentation

Obtain the names for datasets and or groups.

Description

These functions provide a listing of the names of datasets and or groups within HDF5 files and groups.

Usage

names.hdf5.file(x, ...)
names.hdf5.group(x, ...)

Arguments

x An object of class hdf5.group or hdf5.file.
... Other arguments, this is not currently used.

Details

The names of the HDF5 objects in the supplied file or group are returned in a vector. It might be nice to have a recursive version at some point.

Unlike lists and some other R objects these names are not an attribute of x.

Value

A character vector (or NULL) containing the names of the objects in x.

Author(s)

B. Ellis and R. Gentleman

See Also

names, hdf5.file

Examples

## Not run: 
  mad <- hdf5.open("microarray.h5")
  hdf5.group(mad,"chip")
  names(mad)
  hdf5.group(mad$chip, "bar")
  names(mad$chip)
## End(Not run)

[Package rhdf5 version 1.4.0 Index]