Last chance! 50% off unlimited learning
Sale ends in
H5Fcreate (name, flags = h5default("H5F_ACC"))
H5Fopen (name, flags = h5default("H5F_ACC_RD"))
H5Fclose (h5file)
H5Fflush (h5file, scope = h5default("H5F_SCOPE"))
H5Fis_hdf5 (name, showWarnings = TRUE)
H5Fget_filesize(h5file)
H5Fget_name (h5obj)
h5const("H5F_ACC")
for possible arguments.H5IdComponent
representing a H5 file identifier as created by H5Fcreate
or H5Fopen
.h5const("H5F_ACC_RD")
for possible arguments.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.
fid <- H5Fcreate("ex_H5F.h5")
fid
H5Fclose(fid)
fid2 <- H5Fopen("ex_H5F.h5")
fid2
H5Fclose(fid2)
Run the code above in your browser using DataLab