H5F: HDF5 File Interface

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

These functions are designed to provide file-level access to HDF5 files.

Usage

1
2
3
4
H5Fcreate (name, flags = h5default("H5F_ACC"))
H5Fopen   (name, flags = h5default("H5F_ACC_RD"))
H5Fclose  (h5file)
H5Fflush  (h5file, scope = h5default("H5F_SCOPE"))

Arguments

name

The filename of the HDF5 file.

flags

See h5const("H5F_ACC") for possible arguments.

h5file

An object of class H5IdComponent representing a H5 file identifier as created by H5Fcreate or H5Fopen.

scope

See h5const("H5F_ACC_RD") for possible arguments.

Details

Interface to the HDF5 C-library libhdf5. See http://www.hdfgroup.org/HDF5/doc/RM/RM_H5F.html for further details.

Value

H5Fcreate and H5Fopen return an object of class H5IdComponent representing a H5 file identifier.

The other functions return the standard return value from their respective C-functions.

Author(s)

Bernd Fischer

References

http://www.hdfgroup.org/HDF5

See Also

rhdf5

Examples

1
2
3
4
5
6
fid <- H5Fcreate("ex_H5F.h5")
fid
H5Fclose(fid)
fid2 <- H5Fopen("ex_H5F.h5")
fid2
H5Fclose(fid2)

patperry/rhdf5 documentation built on May 24, 2019, 8:21 p.m.