big_attach: Attach a Filebacked Big Matrix

Description Usage Arguments Value Examples

View source: R/FBM-attach.R

Description

Attach a Filebacked Big Matrix

Usage

1
2
3

Arguments

rdsfile

Path to a ".rds" file.

Value

The FBM object stored in the rdsfile.

Examples

1
2
3
4
5
6
7
# temporary FBM
X <- FBM(10, 10)$save()

rdsfile <- sub_bk(X$backingfile, ".rds")
X2 <- big_attach(rdsfile)

all.equal(X[], X2[])

bigstatsr documentation built on April 5, 2021, 5:08 p.m.