View source: R/S3_conversion.R
| object_size | R Documentation |
Estimates how much memory the dataset would occupy if loaded into RAM.
object_size(x, unit = c("MB", "bytes", "KB", "GB"))
x |
An |
unit |
Character. Unit for size: "bytes", "KB", "MB", "GB". Default "MB". |
Numeric value with estimated memory size
fn <- tempfile(fileext = ".h5")
X <- hdf5_create_matrix(fn, "data/X", nrow = 100, ncol = 50)
object_size(X)
object_size(X, unit = "KB")
hdf5_close_all()
unlink(fn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.