Description Usage Arguments Examples
The exportDoMPI
function exports variables to a doMPI cluster.
1 | exportDoMPI(cl, varlist, envir=.GlobalEnv)
|
cl |
The doMPI cluster. |
varlist |
Vector of variable names. |
envir |
Environment to get variables from. |
1 2 3 4 5 6 7 | ## Not run:
cl <- startMPIcluster(count=2)
f <- function() 'foo'
g <- function() f()
exportDoMPI(cl, c('f', 'g'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.