Create HDF files and groups.

hql_create_file(file, overwrite = FALSE, parallel = FALSE)

hql_create_group(group, overwrite = FALSE)

Arguments

file

The HDF file to create.

overwrite

If TRUE, overwrite existing file, group, attribute, or dataset.

parallel

If TRUE, use parallel capabilities.

group

The group to create.

Functions

  • hql_create_file(): Create HDF file.

  • hql_create_group(): Create HDF group.

Examples

if(hql_is_loaded()) {
  tf = tempfile(fileext = ".h5")
  hql_create_file(tf)

  hql_use_file(tf)
  hql_create_group("group1")

  hql_close_file(tf)
}