[GRASS-stats] Load data multiple data from grass to R

Hamish hamish_nospam at yahoo.com
Thu Nov 22 03:03:37 EST 2007


Jarek Jasiewicz wrote:

> >> I'd like to write R sript to read more rasters from grass to R and 
> >> writeh them to objects with unique
> >>
> >> what I try to do:
> >>
> >> system("g.mlist type=rast pattern=a_* >tmp_file")
> >> k=c(scan("temp_file, what="string")) //maybe is simpler way
> >>
> >> for (i in k) {
> >> here_I_need_obect_with_unique_name=readRAST6(i, paste(i))
> >> }
> >> operations_on_obiects


does R have an "eval" operator?


Hamish



      ____________________________________________________________________________________
Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs 


More information about the grass-stats mailing list