howbig(nrow, ncol, representation = "dense", unit = .UNIT, unit.prefix = .PREFIX, unit.names = .NAMES, ..., sparsity = 0.05, type = "double", intsize = 4)
howbig.par(nrow, ncol, cores = 1, par = "balanced", unit = .UNIT, unit.prefix = .PREFIX, unit.names = .NAMES, ..., type = "double", intsize = 4, ICTXT = 0, bldim = c(4, 4))
representation="sparse"
howbig.par()
with
par="dmat"
.howbig()
returns a memuse
class object.howbig.par()
returns a list of 2 elements, each of class
memuse
. One is the total memory usage, the other is the local memory
usage.
howbig()
simply returns the
size (as a memuse
object), while howbig.par()
is the parallel,
distributed analogue. The latter returns the memory usage of a
distributed, object
howmany
## Not run:
# # size of a 1000x1000 matrix
# howbig(1000, 1000)
# ## End(Not run)
Run the code above in your browser using DataLab