Description Usage Arguments Value Author(s) Examples
View source: R/evalParallelArgument.R
Evaluates parallel argument.
1 | evalParallelArgument(cl, quit = FALSE)
|
cl |
|
quit |
Logical, whether it should stop with error when ambiguous parallel definition is found (conflicting default environmental variable settings). |
NULL
for sequential evaluation or
the original value of cl
if parallel
evaluation is meaningful.
Peter Solymos, solymos@ualberta.ca
1 2 3 4 5 6 7 8 9 10 | evalParallelArgument()
evalParallelArgument(NULL)
evalParallelArgument(1)
evalParallelArgument(2)
cl <- makePSOCKcluster(2)
evalParallelArgument(cl)
stopCluster(cl)
oop <- options("mc.cores"=2)
evalParallelArgument()
options(oop)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.