getMcCores | R Documentation |
MCCORES
and returns it as
integer. If the environment variable is not set, the value returned by
detectCores()
is used as default.Reads out SHELL environment variable MCCORES
and returns it as
integer. If the environment variable is not set, the value returned by
detectCores()
is used as default.
getMcCores(env.var = "MCCORES")
env.var |
The name of the SHELL environment variable to read out.
Default is |
An integer, either the value of the environment variable
MCCORES
or the default value returned by
parallel::detectCores()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.