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> &lt;<a href="mailto:Agustin.Lobo@ija.csic.es">Agustin.Lobo@ija.csic.es</a>&gt; 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 &quot;Guâno&quot; Grohmann escribió:<br>&gt; I&#39;ve been thinking about the time it takes to import a raster from GRASS<br>&gt; to R. I have some rasters with about 2000 rows and 2500 columns.
<br>&gt; importing starts fine, creates the header, then goes to 100%, and it<br>&gt; hangs there for about 10 minutes, before get ready for the next command.<br>&gt; Any way of decrease this waiting time?<br>&gt;<br>&gt; cheers
<br>&gt;<br>&gt; Carlos<br>&gt;<br>&gt; --<br>&gt; +-----------------------------------------------------------+<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Carlos Henrique Grohmann - Guano<br>&gt;&nbsp;&nbsp; Visiting Researcher at Kingston University London - UK
<br>&gt;&nbsp;&nbsp; Geologist M.Sc&nbsp;&nbsp;- Doctorate Student at IGc-USP - Brazil<br>&gt; Linux User #89721&nbsp;&nbsp;- carlos dot grohmann at gmail dot com<br>&gt; +-----------------------------------------------------------+<br>&gt; _________________
<br>&gt; &quot;Good morning, doctors. I have taken the liberty of removing Windows 95<br>&gt; from my hard drive.&quot;<br>&gt; --The winning entry in a &quot;What were HAL&#39;s first words&quot; contest judged by<br>&gt; 2001: A SPACE ODYSSEY creator Arthur C. Clarke
<br>&gt;<br>&gt; Can&#39;t stop the signal.<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________<br>&gt; statsgrass mailing list
<br>&gt; <a href="mailto:statsgrass@grass.itc.it">statsgrass@grass.itc.it</a><br>&gt; <a href="http://grass.itc.it/mailman/listinfo/statsgrass">http://grass.itc.it/mailman/listinfo/statsgrass</a><br>&gt;<br><br>--<br>Dr. Agustin Lobo
<br>Institut de Ciencies de la Terra &quot;Jaume Almera&quot; (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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Carlos Henrique Grohmann - Guano&nbsp;&nbsp; 
<br>&nbsp;&nbsp;Visiting Researcher at Kingston University London - UK<br>&nbsp;&nbsp;Geologist M.Sc&nbsp;&nbsp;- Doctorate Student at IGc-USP - Brazil<br>Linux User #89721&nbsp;&nbsp;- carlos dot grohmann at gmail dot com<br>+-----------------------------------------------------------+
<br>_________________<br>&quot;Good morning, doctors. I have taken the liberty of removing Windows 95 from my hard drive.&quot;<br>--The winning entry in a &quot;What were HAL&#39;s first words&quot; contest judged by 2001: A SPACE ODYSSEY creator Arthur C. Clarke
<br><br>Can't stop the signal.