On Wed, 2 Apr 2008, Facundo Mu?oz wrote:
Hello list,
i've been dealing all day with this, and i can't find the problem.
It suddenly begun to happen.
Im working with GRASS 6.2.3 under CygWin, and with R 6.2.2 with the
latest libraries (in fact, while trying to solve this problem, i removed
all R versions, and reinstalled the latest. But is still failing).
This is it:
i start GRASS, and open the location i'm working with.
then i start R from GRASS console, load spgrass6 library, and i transfer
a vector map:
GRASS> r --no-save
R> library(spgrass6)
R> medidas <- readVECT6("medidas")
everything goes fine so far.
Is there a stray *.dbf file in the temporary directory? OGR with the
ESRI Shapefile driver does not like extra *.dbf or other irregularities.
In situations like this, just side-step readVECT6, use
system("r.out.ogr ...") to an arbitrary directory, and readOGR() from
there. There are multiple components operating, so complete control is
not possible, but I have seen problems with stray *.dbf files before
that were hard to debug.
Roger