[GRASS5] [bug #1783] (grass) GRASS-R interface: list.GRASS needs some work

this bug's URL: http://intevation.de/rt/webrt?serial_num=1783
-------------------------------------------------------------------------

Subject: GRASS-R interface: list.GRASS needs some work

Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Compiled from Sources
GRASS Version: 5.0.0+ / 0.2-8

Hi -

From within the GRASS/R-stats interface & leics mapset:

system("g.list rast")

----------------------------------------------
raster files available in mapset user1:
slope

raster files available in mapset PERMANENT:
contours image plant rail segment spillage urban
crash landcov popln roads source topo water

----------------------------------------------

print(list.GRASS(type="rast"))

[1] "slope" "raster" "files" "available" "in"
[6] "mapset" "PERMANENT:" "contours" "image" "plant"
[11] "rail" "segment" "spillage" "urban" "crash"
[16] "landcov" "popln" "roads" "source" "topo"
[21] "water"

So it interprets the "raster files available in mapset PERMANENT:" as 6 extra maps.

thanks,
Hamish

-------------------------------------------- Managed by Request Tracker