[STATSGRASS] R - problem with mapsets

Hamish hamish_nospam at yahoo.com
Thu Jul 29 06:57:28 EDT 2004


> Thanks, this is helpful. I'll look at rast.get(), the underlying C 
> function rastget, and the GRASS function it calls (G_find_cell()) - 
> rastget doesn't try to parse the @, and if G_find_cell() doesn't, then
> the behaviour you see is reasonable.


g.mlist might be a *much* better program to use for parsing.
(works well in GRASS 5.3 & newer; take care with the 5.0.3 version)

e.g., 'g.mlist rast'  lists all rasters in mapset, one on each line.


see:
http://grass.ibiblio.org/grass57/manuals/html57_user/g.mlist.html



Hamish




More information about the grass-stats mailing list