[R] MC_CORES and mc.cores for parallel package
marc_grt at yahoo.fr
Wed Dec 7 15:26:55 CET 2016
From the documentation of ?options
Options set in package parallel
These will be set when package parallel (or its namespace) is loaded if
not already set.
a integer giving the maximum allowed number of additional R processes
allowed to be run in parallel to the current R process. Defaults to the
setting of the environment variable MC_CORES if set. Most applications
which use this assume a limit of 2 if it is unset.
Then I try:
I suspect that my environment variable MC_CORES is not set. I test and
Then I do:
But when I try again getOption("mc.cores"); it does not change:
Probably I do something wrong but I don't see what !
More information about the R-help