Skip to content
Prev 5656 / 29559 Next

readRAST6: too many open files

We're using
rastdum <- readRAST6("nomdum",cat=F,ignore.stderr = T)

(on a ubuntu 8.10 machine and R 2.9)
within a for() loop of hundreds of iterations.

At some point (ca. 199) we get an error
"Too many open files"

and suspect that this is because readRAST6() is opening
and not closing files. Is this a bug? I remember having
a similar problem with writeGDAL() on a win machine a long ago,
but that problem was fixed.

Thanks

Agus