[GRASS-stats] GRASS/R interface Vista 64

Sam Veloz sdveloz at ucdavis.edu
Tue Nov 18 13:35:32 EST 2008


Updating the spgrass6 and rgdal packages fixed the problem.
Thanks,
Sam


Roger Bivand wrote:
> On Mon, 17 Nov 2008, Sam Veloz wrote:
> 
>> I am trying to run R from within GRASS. I am running GRASS 6.3.0 with 
>> R 2.8.0 on a Vista 64 platform. I am able to start R within GRASS and 
>> load the spgrass6 library fine. However when I try:
>> G <- gmeta6()
>> I get the following error:
>> Error in system(paste(paste("g.region", .addexe(), sep = ""), "-g3"),  :
>>  g.region not found
> 
> Thanks. The most likely cause is that the system is not being identified 
> as a "windows" system. Could you copy the output from your running R 
> within GRASS of .sessionInfo() and of Sys.getenv() into an RData file 
> (save()) and pass it to me off-list? The specific test expects 
> .Platform$OS.type == "windows", and if it isn't, there may be issues. 
> The other possibility is that Sys.getenv("OSTYPE") isn't known.
> 
> Roger
> 
>>
>> If I run g.region -p in GRASS I get:
>>
>> projection: 99 (Albers Equal Area)
>> zone:       0
>> datum:      nad27
>> ellipsoid:  clark66
>> north:      450300
>> south:      -604700
>> west:       -373900
>> east:       540100
>> nsres:      1000
>> ewres:      1000
>> rows:       1055
>> cols:       914
>> cells:      964270
>>
>> I am new to GRASS but have been working with R for a couple of years. 
>> Is there something simple I am missing?
>> Thanks,
>> Sam
>>
>>
> 

-- 
****************************************************
Sam Veloz
Postdoctoral Researcher
Department of Environmental Science and Policy
University of California, Davis
sdveloz at ucdavis.edu


More information about the grass-stats mailing list