R function to create an empty HDF5 file.
h5createFile(file)Returns (invisibly) TRUE is file was created successfully and FALSE otherwise.
Creates an empty HDF5 file.
h5File <- tempfile(pattern = "ex_createFile.h5")
h5createFile(h5File)
# create groups
h5createGroup(h5File, "foo")
h5createGroup(h5File, "foo/foobaa")
h5ls(h5File)
#> group name otype dclass dim
#> 0 / foo H5I_GROUP
#> 1 /foo foobaa H5I_GROUP