| rcpp_hdf5dataset_subset | R Documentation |
Read block from HDF5 dataset (subsetting)
rcpp_hdf5dataset_subset(ptr_sexp, rows, cols)
ptr_sexp |
External pointer to hdf5Dataset |
rows |
Integer vector with row indices (1-based, as in R) |
cols |
Integer vector with column indices (1-based, as in R) |
This function reads a subset of data from an HDF5 dataset. Indices are 1-based (R convention) and converted internally to 0-based (C++ convention).
The function handles:
Contiguous blocks (e.g., rows 1:10)
Non-contiguous indices (e.g., rows c(1,3,5,7))
Full dimensions (e.g., all rows, specific columns)
Numeric matrix with requested data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.