powered by
Explicitly creates a new group (or nested groups) in an HDF5 file. This is useful for creating an empty group structure.
h5_create_group(file, name)
Invisibly returns NULL. This function is called for its side effects.
NULL
The path to the HDF5 file.
The full path of the group to create (e.g., "/g1/g2").
file <- tempfile(fileext = ".h5") h5_create_file(file) # Create a nested group structure h5_create_group(file, "/data/experiment/run1") h5_ls(file) unlink(file)
Run the code above in your browser using DataLab