guesstimate | R Documentation |
Take a wild stab at guessing how many CPUs to use in cluster when you have some idea of how much RAM is needed per CPU.
guesstimate(ram, prop = 0.8, units = "gb")
ram |
How much ram is required per CPU. |
prop |
Proportion of overall RAM to devote to R. Default |
units |
Units of memory. One of either |
Tries to be conservative by assuming no more than 80% system memory use.
Integer. Number of CPUs to allocate to cluster.
You should take these numbers with several grains of salt.
Alex Chubaty
## Not run:
guesstimate(4)
guesstimate(4, 0.90, "MB")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.