[GRASS-stats] R-GRASS error: "all connections are in use"

Juan Manuel Barreneche jumanbar at gmail.com
Thu Apr 24 20:02:16 EDT 2008


Hello list,

I'm currently using R version 2.5.0 (2007-04-23) in conjunction with
GRASS6.2.2.

My goal is to use a loop to extract data from rasters created in grass
(a different raster in each simulation, created with r.cost using a
unique cost surface raster, which is deleted every time in order to
free disk space).

Percent complete:  100%
r.out.bin complete.
REMOVE [nombre]
 raster
 header
 category
 color    MISSING
 history
 misc
 fcell    MISSING
 g3dcell  MISSING
Creating BIL support files ...
Header File = /home/mastermind/GRASSDATA/prueba/wordlclim/.tmp/torre11b1-4/nombre.hdr
World File = /home/mastermind/GRASSDATA/prueba/wordlclim/.tmp/torre11b1-4/nombre.wld
Exporting Raster as integer values (bytes=2)
Using the Current Region settings ...
north=-34.474986
south=-34.966653
east=-55.866644
west=-56.558311
r=59
c=83

Porcentaje completado:  100%
r.out.bin complete.
Error in file(paste(fname, "wld", sep = "."), "r") :
         all connections are in use

In addition, after this message every time i try a help comand (such
as ?file, ?rbind, etc...) i get the same message:
Error in file(con, "r"): all connections are in use

I've been working with R and GRASS for about 9 months and I'm not much
of a specialist, so i'm really lost here, does anybody have a clue
about the solution of this problem?

many thanks,

Juan Manuel


More information about the grass-stats mailing list