Re: [R] Too many open files

2009-07-21 Thread Duncan Murdoch
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,

Re: [R] Too many open files

2009-07-21 Thread Uwe Ligges
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: ---

Re: [R] Too many open files

2009-07-21 Thread Allan Engelhardt
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

[R] Too many open files

2009-07-16 Thread Marilyn & Rich Short
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

[R] Too many open files

2007-12-27 Thread Markus Loecher
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