h5_writeAttribute | R Documentation |
Write an R object as an HDF5 attribute
h5writeAttribute(
attr,
h5obj,
name,
h5loc,
encoding = NULL,
variableLengthString = FALSE,
asScalar = FALSE,
checkForNA = TRUE
)
## S3 method for class 'array'
h5writeAttribute(
attr,
h5obj,
name,
h5loc,
encoding = NULL,
variableLengthString = FALSE,
asScalar = FALSE,
checkForNA = TRUE
)
attr |
The R object to be written as an HDF5 attribute. |
h5obj |
Normally an object of class H5IdComponent representing a
H5 object identifier (file, group, or dataset). See
|
name |
The name of the attribute to be written. |
h5loc |
The location of the group or dataset within a file to which the
attribute should be attached. This argument is only used if the
|
encoding |
The encoding of the string data type. Valid options are "ASCII" and "UTF-8". |
variableLengthString |
Whether character vectors should be written as variable-length strings into the attributes. |
asScalar |
Whether length-1 |
checkForNA |
Whether a |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.