Learn R Programming

rhdf5 (version 2.16.0)

h5createFile: Create HDF5 file

Description

R function to create an empty HDF5 file.

Usage

h5createFile (file)

Arguments

file
The filename of the HDF5 file.

Value

Details

Creates an empty HDF5 file.

References

http://www.hdfgroup.org/HDF5

See Also

h5createGroup, h5createDataset, h5read, h5write, rhdf5

Examples

Run this code
h5createFile("ex_createFile.h5")

# create groups
h5createGroup("ex_createFile.h5","foo")
h5createGroup("ex_createFile.h5","foo/foobaa")

h5ls("ex_createFile.h5")

Run the code above in your browser using DataLab