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/ecmei documentation built on Jan. 25, 2024, 10:54 p.m.