h5_readAttributes: Read all attributes from a given location in an HDF5 file

h5_readAttributesR Documentation

Read all attributes from a given location in an HDF5 file

Description

Read all attributes from a given location in an HDF5 file

Usage

h5readAttributes(file, name, native = FALSE, ...)

Arguments

file

Character vector of length 1, giving the path to the HDF5

name

Path within the HDF5 file to the object whose attributes should be read.

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.

...

Further arguments passed to H5Aread.

Value

A named list of the same length as the number of attributes attached to the specific object. The names of the list entries correspond to the attribute names. If no attributes are found an empty list is returned.


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