Possible types returned by the function are:
H5I_FILEH5I_GROUPH5I_DATATYPEH5I_DATASPACEH5I_DATASETH5I_ATTR
Arguments
- h5identifier
Object of class H5IdComponent.
Examples
h5file <- system.file("testfiles", "h5ex_t_array.h5", package = "rhdf5")
fid <- H5Fopen(h5file)
gid <- H5Gopen(fid, "/")
## identify the HDF5 types for these identifiers
H5Iget_type(fid)
#> [1] "H5I_FILE"
H5Iget_type(gid)
#> [1] "H5I_GROUP"
## tidy up
H5Gclose(gid)
H5Fclose(fid)