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

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
[EMAIL PROTECTED]
_______________________________________________
grass-stats mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-stats

Reply via email to