h5listObjects: List all open HDF5 objects.

h5listObjectsR Documentation

List all open HDF5 objects.

Description

A list of all valid HDF5 identifiers. H5 objects should be closed after usage to release resources.

Usage

h5listIdentifier()

h5validObjects(native = FALSE)

Arguments

native

An object of class logical. If TRUE, array-like objects are treated as stored in HDF5 row-major rather than R column-major orientation. Using native = TRUE increases HDF5 file portability between programming languages. A file written with native = TRUE should also be read with native = TRUE

Value

h5validObjects returns a list of H5IdComponent objects. h5listIdentifier prints the valid identifiers on screen and returns NULL.

Author(s)

Bernd Fischer, Mike Smith

Examples


h5File <- tempfile("ex_list_identifier.h5")

h5createFile(h5File)

# create groups
h5createGroup(h5File,"foo")

h5listIdentifier()
h5validObjects()


grimbough/rhdf5 documentation built on April 16, 2024, 8:22 p.m.