Re: [GRASS-user] passing output from GRASS to R.

2009-05-05 Thread Milton Cezar Ribeiro
Thanks for both, Markus and Roger Bivand. Cheers milton 2009/5/5 Roger Bivand roger.biv...@nhh.no From spgrass6 0.6-*, and after installing the R XML package (off CRAN but installs automatically from Prof. Ripley's extra Windows repository if you are on Windows), you can use: rasterfiles

Re: [GRASS-user] passing output from GRASS to R.

2009-05-04 Thread Markus Neteler
On Mon, May 4, 2009 at 8:57 PM, Milton Cezar Ribeiro miltinho.astrona...@gmail.com wrote: Dear all, I am running R inside GRASS 6.4 and I can see a list of all my raster files when I type (from the R session) system(g.list rast) But I would like to pass the list of rasters to a vector

Re: [GRASS-user] passing output from GRASS to R.

2009-05-04 Thread Milton Cezar Ribeiro
Hi Markus, Under windows I needed only small changes rasterfiles - read.table(textConnection(system(g.mlist.exe rast pattern=*output*, intern = TRUE))) Thanks a lot, milton 2009/5/4 Markus Neteler nete...@osgeo.org On Mon, May 4, 2009 at 8:57 PM, Milton Cezar Ribeiro