Learn R Programming

BigDataStatMeth (version 2.0.3)

rcpp_hdf5dataset_colSums: Column sums of an HDF5 dataset (R6 wrapper)

Description

Block-wise, OpenMP-parallel computation of colSums(X) for an HDF5 matrix referenced by an external pointer.

Usage

rcpp_hdf5dataset_colSums(ptr, paral = NULL, wsize = NULL, threads = NULL)

Value

Numeric vector of length ncols_R.

Arguments

ptr

External pointer (SEXP) to an open hdf5Dataset.

paral

Logical or NULL; enable OpenMP parallelisation.

wsize

Integer or NULL; block size (NULL = auto).

threads

Integer or NULL; thread count (NULL = auto).