fm.conv.store | R Documentation |
This function converts the storage of a FlashR vector/matrix. The storage can be memory or disks.
fm.conv.store(fm, in.mem, name = "")
fm |
a FlashR object. |
in.mem |
a logical value indicating whether to store the FlashR object in memory. |
name |
a string to indicate the name of the new FlashR object. |
If a user provides name
and in.mem
is TRUE
,
the vector/matrix will be kept on disks persistently. That is, even if a user
exits from R, the vector/matrix will still be kept on disks.
a new FlashR object with data stored in specified storage.
mat <- fm.runif.matrix(100, 10, in.mem=TRUE) mat <- fm.conv.store(mat, FALSE)