Here it is:

R version 2.9.0 (2009-04-17)
i486-pc-linux-gnu

locale:
LC_CTYPE=es_ES.UTF-8;LC_NUMERIC=C;LC_TIME=es_ES.UTF-8;LC_COLLATE=es_ES.UTF-8;LC_MONETARY=C;LC_MESSAGES=es_ES.UTF-8;LC_PAPER=es_ES.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=es_ES.UTF-8;LC_IDENTIFICATION=C

attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] spgrass6_0.6-4 XML_1.95-3 rgdal_0.6-7 sp_0.9-34
loaded via a namespace (and not attached):
[1] grid_2.9.0      lattice_0.17-22


We are upgrading to match your versions, will retry and let you know

Agus

Roger Bivand wrote:
On Tue, 5 May 2009, Agustin Lobo wrote:

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?

Possibly, but a complete sessionInfo() would be necessary - the versions of the packages involved may matter. Does this reproduce with readRAST6() in a loop reading say the same raster? I've run 300 reads of spearfish elevation.dem without seeing problems for:

sessionInfo()
R version 2.9.0 (2009-04-17)
i386-pc-mingw32

locale:
LC_COLLATE=Norwegian (Bokmål)_Norway.1252;LC_CTYPE=Norwegian (Bokmål)_Norway.1252;LC_MONETARY=Norwegian (Bokmål)_Norway.1252;LC_NUMERIC=C;LC_TIME=Norwegian (Bokmål)_Norway.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] spgrass6_0.6-5 XML_2.3-0      rgdal_0.6-8    sp_0.9-36

loaded via a namespace (and not attached):
[1] grid_2.9.0      lattice_0.17-22

Roger

I remember having
a similar problem with writeGDAL() on a win machine a long ago,
but that problem was fixed.

Thanks

Agus



------------------------------------------------------------------------

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

begin:vcard
fn:Agustin Lobo
n:Lobo;Agustin
org:Institut de Ciencies de la Terra "Jaume Almera" CSIC
adr:;;Lluis Sole Sabris s/n;Barcelona;;08028;Spain
email;internet:agustin.l...@ija.csic.es
url:http://www.ija.csic.es/gt/obster
version:2.1
end:vcard

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to