H5Sset_extent_simple: Set the size of a dataspace

View source: R/H5S.R

H5Sset_extent_simpleR Documentation

Set the size of a dataspace

Description

Set the size of a dataspace

Usage

H5Sset_extent_simple(h5space, dims, maxdims)

Arguments

h5space

H5IdComponent object representing a dataspace.

dims

Dimension of the dataspace. This argument is similar to the dim attribute of an array.

maxdims

Maximum extension of the dimension of the dataset in the file. If not provided, it is set to dims.

When viewing the HDF5 dataset with other software (e.g. HDFView), the dimensions appear in inverted order, because the fastest changing dimension in R is the first one, and in C it's the last one.


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