H5Fcreate: Create an HDF5 file

View source: R/H5F.R

H5FcreateR Documentation

Create an HDF5 file

Description

Create an HDF5 file

Usage

H5Fcreate(
  name,
  flags = h5default("H5F_ACC"),
  fcpl = NULL,
  fapl = NULL,
  native = FALSE
)

Arguments

name

The name of the HDF5 file to create.

flags

See h5const("H5F_ACC") for possible arguments.

fcpl, fapl

Object object of class H5IdComponent. This should representing a file creation property list and a file access property list respectively. See H5Pcreate() or H5Pcopy() to create objects of this kind. Leaving as NULL will use the default HDF5 settings which are often sufficient.

native

An object of class logical. If TRUE, array-like objects are treated as stored in HDF5 row-major rather than R column-major orientation. Using native = TRUE increases HDF5 file portability between programming languages. A file written with native = TRUE should also be read with native = TRUE.


grimbough/rhdf5 documentation built on April 16, 2024, 8:22 p.m.