Displaying 1 result from an estimated 1 matches for "setcores".
Did you mean:
sectores
2012 Dec 04
2
SUGGESTION: Add get/setCores() to 'parallel' (and command line option --max-cores)
...eral settings where you wish to use fewer, e.g. in a
compute cluster where you R session is given only a portion of the
cores available. Because of this, I'd like to propose to add
getCores(), which by default returns what detectCores() gives, but can
also be set to return what is assigned via setCores(). The idea is
this getCores() could replace most common usage of detectCores() and
provide more control. An additional feature would be that 'parallel'
when loaded would check for command line argument --max-cores=<int>,
which will update the number of cores via setCores(). This w...