Skip to contents

Returns the low-level HDF5 storage type of an attribute.

Usage

h5_typeof_attr(file, name, attribute)

Arguments

file

Path to the HDF5 file.

name

Name of the object attached to.

attribute

Name of the attribute.

Value

A character string representing the HDF5 storage type.

Examples

file <- tempfile(fileext = ".h5")
h5_write(file, "data", 1)

h5_write_attr(file, "data", "meta", I("info"))
h5_typeof_attr(file, "data", "meta") # "string"
#> [1] "string"

unlink(file)