Learn R Programming

hdf5r (version 1.3.11)

H5File.open: 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)

Value

The file id (64bit-integer)

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

Author

Holger Hoefling

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.