Attribute
object is used to store meta data about a primary
data object like DataSet
, H5Group
or
H5File
. The functions described in this section show a
low--level interface to read and write attributes. See
H5Location
for the easier-to-use h5attr
convenience functions.writeAttribute(.Object, data = GetDimensions(data), transpose = TRUE)## S3 method for class 'Attribute':
writeAttribute(.Object, data = GetDimensions(data),
transpose = TRUE)
readAttribute(.Object)
## S3 method for class 'Attribute':
readAttribute(.Object)
Attribute
.Attribute
s are assumed to be like small DataSet
s since
they can store the same data types in homogeneous objects like vectors,
matrices and arrays. However, there are two important differences compared to
DataSet
objects:
H5Location-Attribute