Thanks for the quick reply, Augustin.<br><br>I am doing a multi-scale study of surface roughness. So I have 180 rasters, created using 3 different methods, 5 different resolutions, and with 12 moving-window sizes. In R, I am importing the data to produce histograms, density plots and so on. More as a summary statistics tool than really analysis. In R I can plot density curves for various maps in one graphic, and see what is the behaviour of the morphometric variable when resolution or moving-window size changes.
<br><br><br>Carlos<br><br><br><br><br><div><span class="gmail_quote">On 10/2/07, <b class="gmail_sendername">Agustin Lobo</b> <<a href="mailto:Agustin.Lobo@ija.csic.es">Agustin.Lobo@ija.csic.es</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It makes sense, R puts everything in memory.<br>In general, unless you have small raster layers,<br>the best is to use the gis for the processing, get<br>intermediate data out of the raster and process these data in R.<br>
Then back to gis for displaying if required.<br>In other words, no way of using R instead of r.mapcalc<br>unless the raster is very small.<br><br>If you can let us know what you want to do with the raster<br>we can try to be more specific on how a combined use of grass/r could
<br>solve the problem (hopefully).<br><br>Agus<br><br>Carlos "Guâno" Grohmann escribió:<br>> I've been thinking about the time it takes to import a raster from GRASS<br>> to R. I have some rasters with about 2000 rows and 2500 columns.
<br>> importing starts fine, creates the header, then goes to 100%, and it<br>> hangs there for about 10 minutes, before get ready for the next command.<br>> Any way of decrease this waiting time?<br>><br>> cheers
<br>><br>> Carlos<br>><br>> --<br>> +-----------------------------------------------------------+<br>> Carlos Henrique Grohmann - Guano<br>> Visiting Researcher at Kingston University London - UK
<br>> Geologist M.Sc - Doctorate Student at IGc-USP - Brazil<br>> Linux User #89721 - carlos dot grohmann at gmail dot com<br>> +-----------------------------------------------------------+<br>> _________________
<br>> "Good morning, doctors. I have taken the liberty of removing Windows 95<br>> from my hard drive."<br>> --The winning entry in a "What were HAL's first words" contest judged by<br>> 2001: A SPACE ODYSSEY creator Arthur C. Clarke
<br>><br>> Can't stop the signal.<br>><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> statsgrass mailing list
<br>> <a href="mailto:statsgrass@grass.itc.it">statsgrass@grass.itc.it</a><br>> <a href="http://grass.itc.it/mailman/listinfo/statsgrass">http://grass.itc.it/mailman/listinfo/statsgrass</a><br>><br><br>--<br>Dr. Agustin Lobo
<br>Institut de Ciencies de la Terra "Jaume Almera" (CSIC)<br>LLuis Sole Sabaris s/n<br>08028 Barcelona<br>Spain<br>Tel. 34 934095410<br>Fax. 34 934110012<br>email: <a href="mailto:Agustin.Lobo@ija.csic.es">Agustin.Lobo@ija.csic.es
</a><br><a href="http://www.ija.csic.es/gt/obster">http://www.ija.csic.es/gt/obster</a><br></blockquote></div><br><br clear="all"><br>-- <br>+-----------------------------------------------------------+<br> Carlos Henrique Grohmann - Guano
<br> Visiting Researcher at Kingston University London - UK<br> Geologist M.Sc - Doctorate Student at IGc-USP - Brazil<br>Linux User #89721 - carlos dot grohmann at gmail dot com<br>+-----------------------------------------------------------+
<br>_________________<br>"Good morning, doctors. I have taken the liberty of removing Windows 95 from my hard drive."<br>--The winning entry in a "What were HAL's first words" contest judged by 2001: A SPACE ODYSSEY creator Arthur C. Clarke
<br><br>Can't stop the signal.