rcpp_hdf5dataset_read_dimnames: Read dimension names (rownames / colnames) from an HDF5...

View source: R/RcppExports.R

rcpp_hdf5dataset_read_dimnamesR Documentation

Read dimension names (rownames / colnames) from an HDF5 dataset

Description

Reads the row and column names stored alongside an HDF5 dataset following the BigDataStatMeth convention:

  • rownames stored at group/.<dataset>_dimnames/1

  • colnames stored at group/.<dataset>_dimnames/2

When a component has not been written an empty character(0) is returned for it. The function uses BigDataStatMeth::hdf5Dims in read mode (bWrite = false) so no data on disk is modified.

Usage

rcpp_hdf5dataset_read_dimnames(ptr_sexp)

Arguments

ptr_sexp

External pointer (SEXP) to an open hdf5Dataset object managed by the R6 class.

Value

Named list with two character elements:

rownames

Row names, or character(0) if absent

colnames

Column names, or character(0) if absent


BigDataStatMeth documentation built on May 15, 2026, 1:07 a.m.