Learn R Programming

BigDataStatMeth (version 2.0.3)

rcpp_hdf5dataset_write_dimnames: Write dimension names through the R6 dataset handle

Description

Writes row and/or column names for an HDF5 dataset using the existing open file handle managed by the R6 object. Unlike bdWrite_hdf5_dimnames(), this function operates through hdf5Dataset::writeDimnames() so the long-lived R6 handle sees the changes immediately - no metadata cache staleness.

Usage

rcpp_hdf5dataset_write_dimnames(ptr_sexp, rownames, colnames)

Value

NULL invisibly.

Arguments

ptr_sexp

External pointer (SEXP) to an open hdf5Dataset.

rownames

Character vector of row names. Use character(0) to skip writing row names.

colnames

Character vector of column names. Use character(0) to skip writing column names.