HDF5 File Interface
These functions are designed to provide file-level access to HDF5 files.
H5Fcreate (name, flags = h5default("H5F_ACC"), fcpl = NULL, fapl = NULL, native = FALSE) H5Fopen (name, flags = h5default("H5F_ACC_RD"), fapl = NULL, native = FALSE) H5Fclose (h5file) H5Fflush (h5file, scope = h5default("H5F_SCOPE")) H5Fis_hdf5 (name, showWarnings = TRUE) H5Fget_filesize (h5file) H5Fget_name (h5obj) H5Fget_create_plist (h5file) H5Fget_access_plist (h5file)
name |
The filename of the HDF5 file. |
flags |
See |
fcpl |
An object of class |
fapl |
An object of class |
native |
An object of class |
.
h5file |
An object of class |
scope |
See |
showWarnings |
If TRUE (default), a warning is given if an open HDF5 handle exists for this file. |
h5obj |
An object of class |
Interface to the HDF5 C-library libhdf5. See https://portal.hdfgroup.org/display/HDF5/Files for further details.
H5Fcreate
and H5Fopen
return an object of class H5IdComponent
representing a H5 file identifier.
H5Fis_hdf5
returns TRUE, if the file is an HDF5 file, or FALSE otherwise. In the case the file doesn't exist, NA is returned.
The other functions return the standard return value from their respective C-functions.
Bernd Fischer
fid <- H5Fcreate("ex_H5F.h5") fid H5Fclose(fid) fid2 <- H5Fopen("ex_H5F.h5") fid2 H5Fclose(fid2)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.