h5_createFile: Create HDF5 file

h5_createFileR 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 (invisibly) TRUE is file was created successfully and FALSE otherwise.

Author(s)

Bernd Fischer

See Also

h5createGroup(), h5createDataset(), h5read(), h5write(), rhdf5

Examples


h5File <- tempfile(pattern = "ex_createFile.h5")

h5createFile(h5File)

# create groups
h5createGroup(h5File,"foo")
h5createGroup(h5File,"foo/foobaa")

h5ls(h5File)


grimbough/rhdf5 documentation built on Sept. 14, 2024, 8:41 a.m.