Learn R Programming

BigDataStatMeth (version 2.0.3)

rcpp_hdf5dataset_write_block: Write data block to HDF5 dataset (R6 wrapper)

Description

Writes a block of data to an HDF5 dataset at specified offset. Supports writing scalars, vectors, and matrices.

Usage

rcpp_hdf5dataset_write_block(
  ptr_sexp,
  value,
  row_offset,
  col_offset,
  nrows,
  ncols
)

Value

NULL (invisible)

Arguments

ptr_sexp

External pointer (SEXP) to hdf5Dataset

value

Data to write (numeric scalar, vector, or matrix)

row_offset

Starting row (0-based in C++, but receives 1-based from R)

col_offset

Starting column (0-based in C++, but receives 1-based from R)

nrows

Number of rows to write

ncols

Number of columns to write