H5Iget_type {rhdf5} | R Documentation |
Possible types returned by the function are:
H5I_FILE
H5I_GROUP
H5I_DATATYPE
H5I_DATASPACE
H5I_DATASET
H5I_ATTR
H5Iget_type(h5identifier)
h5identifier |
Object of class H5IdComponent. |
Returns a character vector of length 1 containing the HDF5 type for the supplied identifier.
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) H5Iget_type(gid) ## tidy up H5Gclose(gid) H5Fclose(fid)