H5Oget_num_attrs: Find the number of attributes associated with an HDF5 object

View source: R/H5O_extras.R

H5Oget_num_attrsR Documentation

Find the number of attributes associated with an HDF5 object

Description

Find the number of attributes associated with an HDF5 object

Usage

H5Oget_num_attrs(h5obj)

H5Oget_num_attrs_by_name(h5loc, name)

Arguments

h5obj

An object of class H5IdComponent representing a H5 object identifier (file, group, or dataset).

h5loc

An object of class H5IdComponent representing a H5 location identifier (file or group).

name

The name of the object to be checked.

Details

These functions are not part of the standard HDF5 C API.

Value

Returns a vector of length 1 containing the number of attributes the specified object has.


grimbough/rhdf5 documentation built on Sept. 14, 2024, 8:41 a.m.