[R] increasing the # of socket connections

Thomas Lumley tlumley at u.washington.edu
Fri Aug 25 17:38:08 CEST 2006

On Fri, 25 Aug 2006, Marc Kirchner wrote:

> As - for administrative reasons - I would prefer to use snow's
> SOCK capabilities (instead of MPI and the like), I wonder if there is a
> way to increase the number of simultaneous open connections allowed in
> an R session (~100 would be sufficient).

You need to change
   #define NCONNECTIONS 50
at the top of src/main/connections.c and recompile.


Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle

More information about the R-help mailing list