R and GRASS (readVECT6 problem)

3 messages Options
Embed this post
Permalink
Martin Maier-2

R and GRASS (readVECT6 problem)

Reply Threaded More More options
Print post
Permalink
Hi,

I am using the latest GRASS windows binary
(WinGRASS-6.4.0SVN-r39626-1-Setup.exe) on W2K. My R version is 2.9.2.
After starting R from within GRASS, loading the library(spgrass6) it is
not possible to use the readVECT6 command (with the South-Dakota
dataset) in R:

 > map <- readVECT6("bugsites")
Error in vInfo(vname) : Vector information not found

readRAST6() and gmeta6() both works fine.
Does anybody have the same error and can give a hint, why this error
occures?

Martin
_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user
Roger Bivand

Re: R and GRASS (readVECT6 problem)

Reply Threaded More More options
Print post
Permalink
The last time this was seen, it was a locale problem. I heard today something from that questioner, who asked on the more relevant statsgrass list. Try setting your locale to an English one. I'll try to release the package with a patch, although the original questioner did not report success (but that could be because he was unable to install a source package).

Roger

Martin Maier-2 wrote:
Hi,

I am using the latest GRASS windows binary
(WinGRASS-6.4.0SVN-r39626-1-Setup.exe) on W2K. My R version is 2.9.2.
After starting R from within GRASS, loading the library(spgrass6) it is
not possible to use the readVECT6 command (with the South-Dakota
dataset) in R:

 > map <- readVECT6("bugsites")
Error in vInfo(vname) : Vector information not found

readRAST6() and gmeta6() both works fine.
Does anybody have the same error and can give a hint, why this error
occures?

Martin
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
Roger Bivand
Economic Geography Section
Department of Economics
Norwegian School of Economics and Business Administration
Helleveien 30
N-5045 Bergen, Norway
Martin Maier-2

Re: R and GRASS (readVECT6 problem)

Reply Threaded More More options
Print post
Permalink
With R version 7.10.0 everything works fine with readVECT6() on my machine.
Thanks!

Martin

Roger Bivand schrieb am 29.10.2009 22:07:

> The last time this was seen, it was a locale problem. I heard today something
> from that questioner, who asked on the more relevant statsgrass list. Try
> setting your locale to an English one. I'll try to release the package with
> a patch, although the original questioner did not report success (but that
> could be because he was unable to install a source package).
>
> Roger
>
>
> Martin Maier-2 wrote:
>  
>> Hi,
>>
>> I am using the latest GRASS windows binary
>> (WinGRASS-6.4.0SVN-r39626-1-Setup.exe) on W2K. My R version is 2.9.2.
>> After starting R from within GRASS, loading the library(spgrass6) it is
>> not possible to use the readVECT6 command (with the South-Dakota
>> dataset) in R:
>>
>>  > map <- readVECT6("bugsites")
>> Error in vInfo(vname) : Vector information not found
>>
>> readRAST6() and gmeta6() both works fine.
>> Does anybody have the same error and can give a hint, why this error
>> occures?
>>
>>
>>    

_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user