h5createFile {rhdf5} | R Documentation

## Create HDF5 file

### Description

R function to create an empty HDF5 file.

### Usage

    h5createFile (file)

### Arguments

`file` | The filename of the HDF5 file.

### Details

Creates an empty HDF5 file.

### Value

Returns TRUE is file was created successfully and FALSE otherwise.

### Author(s)

Bernd Fischer

### References

https://portal.hdfgroup.org/display/HDF5

### See Also

`h5createGroup`, `h5createDataset`, `h5read`, `h5write`, rhdf5

### Examples

    h5createFile("ex_createFile.h5")

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

    h5ls("ex_createFile.h5")

[Package rhdf5 version 2.32.4 Index]