| hash_big_matrix-class | R Documentation |
hash_big_matrix class is a modified class from bigmemory::big.matrix-class(). Its purpose is to
help users operate big matrices within hard disk in a reusable way, so that the large matrices do not consume
too much memory, and the matrices can be reused for the next time.
Comparing with bigmemory::big.matrix-class(), the major enhancement of hash_big_matrix class
is that the backing files are, by default, stored in a permanent place, with the md5 of the object as the file
name. With this explicit name, hash_big_matrix objects can be easily reloaded into workspace every time.
as_hash_big_matrix(x, backingpath = "bp", silence = TRUE, ...)
attach_hash_big_matrix(x, backingpath = "bp")
x |
A matrix, vector, or data.frame for |
backingpath, ... |
Passed to |
silence |
Suppress messages? |
as_hash_big_matrix(): Create a hash_big_matrix object from a matrix.
attach_hash_big_matrix(): Attach a hash_big_matrix object from the backing file to the workspace.
md5The md5 value of the matrix.
addressInherited from big.matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.