[STATSGRASS] [R-spatial-devel] speed of GRASS/R interface

Roger Bivand Roger.Bivand at nhh.no
Mon Oct 15 09:40:17 EDT 2007


On Mon, 15 Oct 2007, Cesare Furlanello wrote:

> Hi Markus / Roger
> is this upgrade being propagated to the R CRAN repository?

We will try to release sp to CRAN soon. The problem has been that the 
new("SpatialGrid", ...) method has called the validObject() method for the 
SpatialGrid object, which recurses into all of the constituent objects, 
even though the documentation of new style classes and methods says that 
it should accept the SpatialPixels object that is passed to it as already 
verified. We have been trying to find a "proper" solution, but maybe we'll 
just release sp as it is, and make further changes if this release breaks 
anything.

Roger

> -- cesare
>
>
> -----Original Message-----
> From: statsgrass-bounces at grass.itc.it [mailto:statsgrass-bounces at grass.itc.it] On Behalf Of Markus Neteler
> Sent: lunedì 15 ottobre 2007 14.58
> To: statsgrass at grass.itc.it
> Subject: Re: [STATSGRASS] [R-spatial-devel] speed of GRASS/R interface
>
>
> Today I downloaded 'sp' and 'spgrass6' from CVS (http://r-spatial.sf.net/),
> steps here to enable more people to try:
>
> # use empty password == <enter> key:
> cvs -d:pserver:anonymous at r-spatial.cvs.sourceforge.net:/cvsroot/r-spatial
> login
> # fetch classes:
> cvs -z3
> -d:pserver:anonymous at r-spatial.cvs.sourceforge.net:/cvsroot/r-spatial co -P
> sp
> cvs -z3
> -d:pserver:anonymous at r-spatial.cvs.sourceforge.net:/cvsroot/r-spatial co -P
> spgrass6
>
> # install from the same directory:
> R CMD INSTALL sp
> R CMD INSTALL spgrass6
>
> Then I tried the new classes: INCREDIBLY FAST!
>
> Seems that I can now start working with my satellite data
> in R - thanks for this speedup!
>
> best wishes,
> Markus
>
>
> guano wrote:
>>
>> It took about 6 seconds to read a raster with 2200x2500 cells, and
>> about 3 secs to build a truehist().
>>
>> don't have any categorical map, though.
>>
>> Carlos
>>
>
> --
> View this message in context: http://www.nabble.com/speed-of-GRASS-R-interface-tf4555475.html#a13212226
> Sent from the Grass - Stats mailing list archive at Nabble.com.
>
> _______________________________________________
> statsgrass mailing list
> statsgrass at grass.itc.it
> http://grass.itc.it/mailman/listinfo/statsgrass
>
> ------------------
> ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
> ITC -> since 1 March 2007 Fondazione Bruno Kessler
> ------------------
>
> _______________________________________________
> statsgrass mailing list
> statsgrass at grass.itc.it
> http://grass.itc.it/mailman/listinfo/statsgrass
>

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no


More information about the grass-stats mailing list