Learn R Programming

bigmemoryExtras (version 1.18.1)

.initBigMatrix: Create a new BigMatrix-derived class

Description

Create a new BigMatrix-derived class

Usage

.initBigMatrix(x = NULL, class = c("BigMatrix", "BigMatrixFactor"), backingfile, nrow, ncol, dimnames = NULL, type = "double", ...)

Arguments

x
NULL, matrix, or big.matrix. Optional data or big.matrix for new BigMatrix
class
character, class name. BigMatrix or BigMatrixFactor currently.
backingfile
character, full path to the file that will contain the data matrix
nrow
integer, number of rows in the matrix we are about to create
ncol
integer, number of columns in the matrix we are about to create
dimnames
list, list(rownames,colnames), as for a typical matrix
type
character, can be double, integer, or char
...
other args to pass to "new" method of generator object, like levels

Value

BigMatrix