Description Usage Arguments Details References See Also
An HDF5 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.
1 2 3 4 5 6 7 8 9 10 | writeAttribute(.Object, data = GetDimensions(data), transpose = TRUE)
## S4 method for signature 'Attribute'
writeAttribute(.Object, data = GetDimensions(data),
transpose = TRUE)
readAttribute(.Object)
## S4 method for signature 'Attribute'
readAttribute(.Object)
|
.Object |
Attribute; S4 object of class |
data |
object; Object to be stored in HDF5 file, can be either of type vector, matrix or array. |
transpose |
logical; Determine if data object should be transposed. |
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:
Attributes do not support compression or chunking.
Subsetting is not possible for attribute data.
http://www.hdfgroup.org/HDF5/doc/H5.intro.html#Intro-OAttributes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.