Learn R Programming

hdf5r (version 1.3.11)

h5attributes: Interface for HDF5 attributes

Description

Interface for HDF5 attributes

Usage

h5attributes(x)

h5attr_names(x)

h5attr(x, which)

h5attr(x, which) <- value

Value

For h5attributes, a named list with the content of the attributes read out. For h5attr_names, a vector of names of the attributes attached to the object x. For h5attr, the content of the attribute and for h5attr<-, the assignment, the original object to which the attributes are attached (so that chaining is possible).

Arguments

x

The object to which to attach the attribute to or retrieve it from. Can be one of H5Group, H5D, H5T or H5File

which

The name of the attribute to assign it to

value

The value to assign to the attribute.

Author

Holger Hoefling

Details

Implements high-level functions that allows interactions with HDF5-attributes in a way very similar to regular R-object attributes in R are handled.