H5File.open: Open an HDF5 file

View source: R/R6Classes_H5File.R

H5File.openR Documentation

Open an HDF5 file

Description

Open an HDF5 file

Usage

H5File.open(name, mode = c("a", "r", "r+", "w", "w-", "x"),
  file_create_pl = h5const$H5P_DEFAULT,
  file_access_pl = h5const$H5P_DEFAULT)

Arguments

name

The name of the file to open

mode

The mode how to open the file

file_create_pl

File creation property list

file_access_pl

File access property list

Details

Open an HDF5 file. a creates a new file or opens an existing one for read/write. r opens an existing file for reading, r+ opens an existing file for read/write. w creates a file, truncating any existing ones and w-/x are synonyms, creating a file and failing if it already exists.

Value

The file id (64bit-integer)

Author(s)

Holger Hoefling


hdf5r documentation built on Sept. 12, 2024, 7:14 a.m.