% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{rcpp_hdf5_create_matrix}
\alias{rcpp_hdf5_create_matrix}
\title{Create an HDF5 dataset with configurable compression (R6 wrapper)}
\usage{
rcpp_hdf5_create_matrix(
  filename,
  group,
  dataset,
  nrows,
  ncols,
  data = NULL,
  dtype = "real",
  overwrite_file = FALSE,
  overwrite_dataset = FALSE,
  compression = 6L
)
}
\arguments{
\item{filename}{Character. Path to the HDF5 file.}

\item{group}{Character. Group path inside the file.}

\item{dataset}{Character. Dataset name.}

\item{nrows}{Integer. Number of rows (>= 1).}

\item{ncols}{Integer. Number of columns (>= 1).}

\item{data}{Optional numeric/integer matrix or data.frame; NULL creates
an empty (zero-filled) dataset.}

\item{dtype}{Character. Element type: "real" (default), "int", "logical".}

\item{overwrite_file}{Logical. Recreate file if it already exists.}

\item{overwrite_dataset}{Logical. Replace dataset if it already exists.}

\item{compression}{Integer 0-9. gzip compression level (0 = no compression,
6 = balanced default). Applied to the new dataset only.}
}
\value{
Named list with \code{filename} and \code{path} of the created dataset.
}
\description{
Creates an HDF5 dataset of size \code{nrows x ncols} and optionally writes
data to it. Replaces \code{bdCreate_hdf5_matrix()} /
\code{bdCreate_hdf5_emptyDataset()} in the R6+S3 interface so that
compression can be controlled from R.
}
\keyword{internal}
