On 21/07/2009 5:00 AM, Allan Engelhardt wrote:
This seriously looks like a bug in load(): the gzcon() magic in the code
leaves the connection open. On Linux x86_64 I can do:
It was a bug (in gzcon, not load), and has now been fixed.
file.name <- "/tmp/foo.RData"
data <- runif(10)
save(data,
Allan Engelhardt wrote:
This seriously looks like a bug in load(): the gzcon() magic in the code
leaves the connection open. On Linux x86_64 I can do:
Have you tried very recent R-devel (which you always should do before
reporting bugs)? From the svn logs:
---
This seriously looks like a bug in load(): the gzcon() magic in the code
leaves the connection open. On Linux x86_64 I can do:
file.name <- "/tmp/foo.RData"
data <- runif(10)
save(data, file=file.name)
for ( i in 1:4000 ) { con <- gzfile(file.name, "rb"); load(file=con);
close(con); }
## No p
Hello,
I'm having a problem in R. I'm getting an error message that reads, "Too
many open files". I'm opening files and closing them (and unlinking
them), but when I go through that process 509 times, the program halts
and I get this error message: "cannot open the connection" with warning
me
quite stuck.
Thanks!
Markus
Re: [R] Too many open files
* This message: [ Message body ] [ More options ]
* Related messages: [ Next message ] [ Previous message ] [ In reply to
] [ [R] error reports ] [ Next in thread ]
From: Seth Falcon
Date: Sat 27 May 2006 - 09:21:36 EST
"Omar L
5 matches
Mail list logo