View source: R/callFunctionOnSSHWorkers.R
callFunctionOnSSHWorkers | R Documentation |
Calls can be made in parallel or consecutively, the function waits until all calls have finished and returns call results. In consecutive mode the output on the workers can also be shown on the master during computation.
Please read and understand the comments for argument dir
.
Note that this function should only be used for short administrative
tasks or information gathering on the workers, the true work horse for
real computation is submitJobs
.
In makeSSHWorker
various options for load
management are possible. Note that these will be
ignored for the current call to execute it immediatly.
callFunctionOnSSHWorkers( nodenames, fun, ..., consecutive = FALSE, show.output = consecutive, simplify = TRUE, use.names = TRUE, dir = getwd() )
nodenames |
[ |
fun |
[ |
... |
[any] |
consecutive |
[ |
show.output |
[ |
simplify |
[ |
use.names |
[ |
dir |
[ |
Results of function calls, either a list or simplified.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.