[STATSGRASS] R - problem with mapsets

marta.benito at uam.es marta.benito at uam.es
Wed Jul 28 15:19:55 EDT 2004


Hello, 
I try to work in R (using GRASS library) with two different maps with the same
name that are located in two different mapsets:
mapset1: map r
mapset2: map r

and allways I get the same map 

> grass5 ms1
> g.region w=0 s=0 e=1 n=1
> r.mapcalc r=123
> exit

> grass5 ms2
> g.region w=0 s=0 e=1 n=1
> r.mapcalc r=456
> R
> library(GRASS)
> G <-gmeta()
> r <- rast.get(G,"r at ms1")
> r
$r
[1] 456


 
Thanks

Marta

--------------------------------------------------------------------------
Mensaje enviado mediante una herramienta Webmail integrada en *El Rincon*:
------------->>>>>>>>     https://rincon.uam.es     <<<<<<<<--------------





More information about the grass-stats mailing list