R/stmv_attach.R

Defines functions stmv_attach

stmv_attach = function( method, pointer ) {
  #\\ generic method to attach data pointer from bigmemory or ff storage pointers
  return(
    switch( method,
      bigmemory.ram = bigmemory::attach.big.matrix(pointer),
      bigmemory.filebacked = bigmemory::attach.big.matrix(pointer),
      ff=pointer )
  )
}
jae0/stmv documentation built on June 11, 2025, 7:14 p.m.