h5CreateGroup {hdf5r.Extra}R Documentation

Create new HDF5 group

Description

Create new HDF5 group

Usage

h5CreateGroup(x, name, ...)

## S3 method for class 'H5Group'
h5CreateGroup(x, name, show.warnings = TRUE, ...)

## S3 method for class 'H5File'
h5CreateGroup(x, name, show.warnings = TRUE, ...)

## S3 method for class 'character'
h5CreateGroup(x, name, show.warnings = TRUE, ...)

Arguments

x

An H5File, H5Group or a path name of HDF5 file.

name

Name of the new HDF5 group. Can be recursive, such as "g/sub_g".

...

Arguments passed to H5Group$create_group().

show.warnings

When the group name already exists, whether or not to show warning messages.

Value

This is an operation function and no return. Any failure should raise an error.

See Also

H5Group

Examples

tmp.file <- tempfile(fileext = ".h5")
h5CreateFile(tmp.file)

h5CreateGroup(tmp.file, "g1")
h5CreateGroup(tmp.file, "g2/g3")


[Package hdf5r.Extra version 0.0.6 Index]