h5_writeAttribute {rhdf5} | R Documentation |
Write an R object as an HDF5 attribute
h5writeAttribute( attr, h5obj, name, cset = c("ASCII", "UTF8"), variableLengthString = FALSE, asScalar = FALSE ) ## S3 method for class 'array' h5writeAttribute( attr, h5obj, name, cset = c("ASCII", "UTF8"), variableLengthString = FALSE, asScalar = FALSE )
attr |
The R object to be written as an HDF5 attribute. |
h5obj |
An object of class H5IdComponent representing a H5
object identifier (file, group, or dataset). See |
name |
The name of the attribute to be written. |
cset |
The encoding of the string data type. |
variableLengthString |
Whether character vectors should be written as variable-length strings into the attributes. |
asScalar |
Whether length-1 |