It appears that the maximum number of connections available in R is about 48. Can anyone tell me how to bump this number up? I've been perusing the source, but any info would speed things up. Is there a reason that it was set to such a low number? Thanks for any help. -Frank
Never mind! I found it. Thanks. -----Original Message----- From: Samuelson, Frank* [mailto:FWS4@cdrh.fda.gov] Sent: Wednesday, March 31, 2004 10:29 AM To: 'r-devel@stat.math.ethz.ch' Subject: [Rd] Maximum number of connections in R It appears that the maximum number of connections available in R is about 48. Can anyone tell me how to bump this number up? I've been perusing the source, but any info would speed things up. Is there a reason that it was set to such a low number? Thanks for any help. -Frank ______________________________________________ R-devel@stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
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
It was embarrassingly obvious, I'm afraid. It appears to be #define NCONNECTIONS ... in the src/main/connections.c I had been looking in the wrong place. Wouldn't a dynamically growing container be better than a static array for this sort of thing? Perhaps I shouldn't wonder such things unless I want to volunteer... -----Original Message----- From: Tony Plate [mailto:tplate@blackmesacapital.com] Sent: Wednesday, March 31, 2004 10:56 AM To: Samuelson, Frank* Subject: RE: [Rd] Maximum number of connections in R So what was it? (A lot of the value of the R mailing lists comes from other people seeing the answers to questions. Otherwise it's just mumbling in the dark.) -- Tony Plate At Wednesday 08:42 AM 3/31/2004, you wrote:>Never mind! I found it. >Thanks. > > >-----Original Message----- >From: Samuelson, Frank* [mailto:FWS4@cdrh.fda.gov] >Sent: Wednesday, March 31, 2004 10:29 AM >To: 'r-devel@stat.math.ethz.ch' >Subject: [Rd] Maximum number of connections in R > > >It appears that the maximum number of connections available >in R is about 48. Can anyone tell me how to bump this number >up? I've been perusing the source, but any info would speed >things up. > >Is there a reason that it was set to such a low number? > >Thanks for any help. > >-Frank > >______________________________________________ >R-devel@stat.math.ethz.ch mailing list >https://www.stat.math.ethz.ch/mailman/listinfo/r-devel > >______________________________________________ >R-devel@stat.math.ethz.ch mailing list >https://www.stat.math.ethz.ch/mailman/listinfo/r-devel