h5attributes {hdf5r} | R Documentation |
Interface for HDF5 attributes
Description
Interface for HDF5 attributes
Usage
h5attributes(x)
h5attr_names(x)
h5attr(x, which)
h5attr(x, which) <- value
Arguments
x |
The object to which to attach the attribute to or retrieve it from. Can be one of |
which |
The name of the attribute to assign it to |
value |
The value to assign to the attribute. |
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.
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).
Author(s)
Holger Hoefling
[Package hdf5r version 1.3.11 Index]