create: Create HDF Object

View source: R/create.r

createR Documentation

Create HDF Object

Description

Generic helper for creating HDF objects.

Usage

create(
  what = c("FILE", "GROUP", "DATASET", "ATTRIBUTE"),
  path,
  data.type,
  size,
  overwrite = FALSE,
  parallel = FALSE
)

create_group(group, overwrite = FALSE)

create_dataset(
  dataset,
  data.type,
  size = NULL,
  overwrite = FALSE,
  parallel = FALSE
)

create_attribute(
  attribute,
  data.type,
  size = NULL,
  overwrite = FALSE,
  parallel = FALSE
)

Arguments

what

The type of object to create.

path

The target location of the object.

data.type

The HDF data type of the dataset or attribute.

size

The size (dimensions) of the dataset or attribute. For CHAR datasets or attributes, the last element of size is the string length.

overwrite

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

parallel

If TRUE, use parallel capabilities.

group

The group to create.

dataset

The dataset to create.

attribute

The attribute to create.

Functions

  • create_group(): Create HDF group.

  • create_dataset(): Create HDF dataset.

  • create_attribute(): Create HDF attribute.


mkoohafkan/hdfqlr documentation built on Jan. 10, 2024, 11:04 p.m.