H5Gget_info {rhdf5} | R Documentation |
Retrieve information about a group
H5Gget_info(h5loc) H5Gget_info_by_name(h5loc, group_name) H5Gget_info_by_idx( h5loc, n, group_name = ".", index_type = h5default("H5_INDEX"), order = h5default("H5_ITER") )
h5loc |
An object of class H5IdComponent representing a H5 group. |
group_name |
An additional group name specifying the group for which
information is sought. It is interpreted relative to |
n |
Position in the index of the group for which information is retrieved. |
index_type |
See |
order |
See |
A list with group information
h5file <- system.file("testfiles", "multiple_dtypes.h5", package="rhdf5") fid <- H5Fopen(h5file) gid <- H5Gopen(fid, "/foo") gid H5Gget_info(gid) H5Gclose(gid) ## the "get_info_by" functions take the H5 object that contains the ## group(s) of interest. We can retrieve information by index or by name H5Gget_info_by_idx(fid, 3) H5Gget_info_by_name(fid,"/foo") H5Fclose(fid)