From ripley at stats.ox.ac.uk  Wed Mar 31 18:01:52 2004
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed Mar 31 18:01:56 2004
Subject: [Rd] Maximum number of connections in R
In-Reply-To: <644D9337A02FC24689647BF9E48EC39E08ABB7C0@drm556>
Message-ID: <Pine.LNX.4.44.0403311658190.20154-100000@gannet.stats>

It's a large number, and each has some cost.  Why would you need more than 
50 simultaneous connections?  If these are files, a DBMS would seem 
indicated long before that point.

On Wed, 31 Mar 2004, Samuelson, Frank* wrote:

> It appears that the maximum number of connections available
> in R is about 48.  

It is 50.

> Can anyone tell me how to bump this number
> up?  I've been perusing the source, but any info would speed
> things up.

It is pretty obvious, at the top of the file called connections.c!

> Is there a reason that it was set to such a  low number?


-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] Maximum number of connections in R
Prof Brian Ripley