| dim.mmap_matrix | R Documentation |
Get mmap_matrix dimensions
## S3 method for class 'mmap_matrix'
dim(x)
x |
mmap_matrix object |
an integer vector of length 2
Other memory-mapped matrices:
[.mmap_matrix(),
as.matrix.mmap_matrix(),
mem_matrix(),
mem_matrix_from(),
print.mmap_matrix()
mat <- matrix(as.double(1:20), nrow = 4, ncol = 5)
f <- tempfile(fileext = ".bin")
on.exit(unlink(f), add = TRUE)
mem_matrix_from(mat, f)
mm <- mem_matrix(f, rows = 4, cols = 5)
dim(mm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.