sizeCheck | R Documentation |
Calculates expected magclass object length and checks that it stays below
the limit defined with magclass_sizeLimit (default = 10^9). This is useful
to prevent out of memory errors in case of unwanted object expansions
Ignored if getOption("magclass_sizeLimit")
is negative.
sizeCheck(dim)
dim |
dimensions of the current object as returned by function |
Jan Philipp Dietrich
pop <- maxample("pop")
magclass:::sizeCheck(dim(pop))
## Not run:
magclass:::sizeCheck(c(6765L, 10946L, 17711L))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.