create: Create HDF Object

Description Usage Arguments Functions

View source: R/create.r

Description

Generic helper for creating HDF objects.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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


hdfqlr documentation built on June 11, 2021, 9:08 a.m.

Related to create in hdfqlr...