Check availability of parallel package and set parameters
Logical, should parallel execution be used?
number of cores used in parallel computation, self-selected number of cores
is used when
upper bound for self-selected number of cores
The function checks if package parallel is available. Then, it is checked whether the FORK nodes can be initialized
A list with two elements:
hasparallel, a logical flag indicating if parallelization is enabled and
cl: parallel socket cluster object, or NULL.
J. Bedia, with contributions by J. Bhend and M. de Felice
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.