Learn R Programming

symDMatrix (version 2.1.1)

as.symDMatrix.character: Coerce a Character Vector to a symDMatrix Object

Description

This function creates a symDMatrix object from a character vector of path names to RData files, each containing exactly one ff_matrix object that is used as a block, and is useful for distributed computing where each block is processed on a different node.

Usage

# S3 method for character
as.symDMatrix(x, ...)

Arguments

x

A character vector with path names to RData files.

...

Additional arguments (currently unused).

Value

A symDMatrix object.

Details

The RData files must be ordered by block: G11, G12, G13, ..., G1q, G22, G23, ..., G2q, ..., Gqq. The matrix-like objects are initialized similarly to load.symDMatrix.

See Also

list.files to create a character vector of file paths that match a certain pattern.