rcpp_hdf5dataset_write_block
rcpp_hdf5dataset_write_block
OTHER
1 Description
Writes a block of data to an HDF5 dataset at specified offset. Supports writing scalars, vectors, and matrices.
2 Usage
rcpp_hdf5dataset_write_block(ptr_sexp, value, row_offset, col_offset, nrows, ncols)3 Arguments
| Parameter | Description |
|---|---|
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 |
4 Value
NULL (invisible)