The sinkWorkerOutput function is used to redirect worker output
to a file. It is intended to be used from a doMPI script
that is executed in “non-spawn” mode.
Usage
sinkWorkerOutput(outfile)
Arguments
outfile
a character string naming the file to write to.
Examples
## Not run:
sinkWorkerOutput(sprintf('worker_
## End(Not run)