Description Usage Arguments Details Value See Also Examples
This is needed to make a duplicate of a big.matrix
, with the
new copy optionally filebacked.
1 2 3 |
x |
a |
cols |
possible subset of columns for the deepcopy; could be numeric, named, or logical. |
rows |
possible subset of rows for the deepcopy; could be numeric, named, or logical. |
y |
optional destination object ( |
type |
preferably specified, |
separated |
use separated column organization of the data instead of column-major organization; use with caution if the number of columns is large. |
backingfile |
the root name for the file(s) for the cache of |
backingpath |
the path to the directory containing the file-backing cache. |
descriptorfile |
we recommend specifying this for file-backing. |
binarydescriptor |
the flag to specify if the binary RDS format should be used for the backingfile description, for subsequent use with |
shared |
|
This is needed to make a duplicate of a big.matrix
, because traditional
R syntax would only copy the R object (the pointer to the big.matrix
rather than the big.matrix
itself).
It can also make a copy of only a subset of columns.
a big.matrix
.
1 2 3 4 5 6 | x <- as.big.matrix(matrix(1:30, 10, 3))
y <- deepcopy(x, -1) # Don't include the first column.
x
y
head(x)
head(y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.