h5_createGroup {rhdf5} | R Documentation |
Creates a group within an HDF5 file.
h5createGroup(file, group)
file |
The filename (character) of the file in which the dataset will
be located. For advanced programmers it is possible to provide an object of
class H5IdComponent representing a H5 location identifier
(file or group). See |
group |
The name of the new group. The name can contain a hierarchy of
groupnames, e.g. |
Creates a new group within an HDF5 file.
Returns TRUE is group was created successfully and FALSE otherwise.
Bernd Fischer
h5createFile()
, h5createDataset()
,
h5read()
, h5write()
h5createFile("ex_createGroup.h5") # create groups h5createGroup("ex_createGroup.h5","foo") h5createGroup("ex_createGroup.h5","foo/foobaa") h5ls("ex_createGroup.h5")