connect {nws} | R Documentation |
Create socket connections between the master and each of the sleigh workers.
Description
This provides a way to efficiently transfer large objects back and forth
between the master and workers.
Usage
## S4 method for signature 'sleigh':
connect(.Object, master, port)
Arguments
.Object |
an object of class sleigh . |
master |
the address of the master. |
port |
the port number that the worker should connect to. |
Examples
## Not run:
# create a sleigh and create connections to each of the workers
s = sleigh()
connect(s)
## End(Not run)
[Package
nws version 2.0.0.3
Index]