Close access to an HDF5 file
Arguments
- h5file
H5IdComponent representing an HDF5 file ID. Typically created via
H5Fcreate()orH5Fopen().
Examples
h5_file <- withr::local_tempfile(fileext = ".h5")
H5Fcreate(h5_file)
fid <- H5Fopen(h5_file)
H5Fget_filesize(fid)
#> [1] 2048
H5Fclose(fid)