R/lbm_attach.R

lbm_attach = function( method, pointer ) {
  #\\ generic method to attach data pointer from bigmemory or ff storage pointers
  return( 
    switch( method, 
      bigmemory.ram=attach.big.matrix(pointer), 
      bigmemory.filebacked=attach.big.matrix(pointer), 
      ff=pointer )
  )
}
AtlanticR/lbm documentation built on May 28, 2019, 11:35 a.m.