| h5_attr_names | R Documentation |
Lists the names of attributes attached to a specific HDF5 object.
h5_attr_names(file, name = "/")
file |
The path to the HDF5 file. |
name |
The path to the object (dataset or group) to query.
Use |
A character vector of attribute names.
h5_ls()
file <- tempfile(fileext = ".h5")
h5_write(1:10, file, "data")
h5_write(I("meters"), file, "data", attr = "unit")
h5_write(I(Sys.time()), file, "data", attr = "timestamp")
h5_attr_names(file, "data") # "unit" "timestamp"
unlink(file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.