asBigMatrix: Coerce an R vector/matrix/data.frame into a big.matrix

Description Usage Arguments Value Author(s)

Description

This is a patched version of as.big.matrix from the bigmemory package. The patch allows you to omit colnames/rownames even when they exist in the R object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
asBigMatrix(x, type = NULL, separated = FALSE, backingfile = NULL,
  backingpath = NULL, descriptorfile = NULL, binarydescriptor = FALSE,
  shared = TRUE, dimnames = FALSE)

## S4 method for signature 'matrix,ANY,ANY,ANY,ANY,ANY,ANY,ANY,logical'
asBigMatrix(x,
  type = NULL, separated = FALSE, backingfile = NULL,
  backingpath = NULL, descriptorfile = NULL, binarydescriptor = FALSE,
  shared = TRUE, dimnames = FALSE)

## S4 method for signature 'data.frame,ANY,ANY,ANY,ANY,ANY,ANY,ANY,logical'
asBigMatrix(x,
  type = NULL, separated = FALSE, backingfile = NULL,
  backingpath = NULL, descriptorfile = NULL, binarydescriptor = FALSE,
  shared = TRUE, dimnames = FALSE)

## S4 method for signature 'vector,ANY,ANY,ANY,ANY,ANY,ANY,ANY,logical'
asBigMatrix(x,
  type = NULL, separated = FALSE, backingfile = NULL,
  backingpath = NULL, descriptorfile = NULL, binarydescriptor = FALSE,
  shared = TRUE, dimnames = FALSE)

Arguments

x

vector, matrix, or data.frmae

type

See bigmemory::as.big.matrix

separated

See bigmemory::as.big.matrix

backingfile

See bigmemory::as.big.matrix

backingpath

See bigmemory::as.big.matrix

descriptorfile

See bigmemory::as.big.matrix

binarydescriptor

See bigmemory::as.big.matrix

shared

See bigmemory::as.big.matrix

dimnames

logical. FALSE by default

Value

big.matrix object

Author(s)

Kaiyin Zhong, Fan Liu


CollapsABEL documentation built on May 29, 2017, 9:43 a.m.