Note that the use of read.table() does make a difference. If you did
x - scan(gzfile(xxx.gz), list(,,))
you would leave an unused connection, and showConnections(all=TRUE) would
show this. There is a finite pool of connections, and in general the
correct way to use them is
con -
Hi,
I am making multiple calls to gzfile() via read.table(), e.g.
x - read.table( gzfile( xxx.gz ) )
After i do this many times (I haven't counted, but probably between 50 and
100 times) I get the error message:
Error in open.connection(file, r) : unable to open connection
In addition: Warning
On 03/07/2007 1:37 PM, David Reiss wrote:
Hi,
I am making multiple calls to gzfile() via read.table(), e.g.
x - read.table( gzfile( xxx.gz ) )
After i do this many times (I haven't counted, but probably between 50 and
100 times) I get the error message:
Error in open.connection(file,