[GRASSLIST:7927] Re: R Stats and GRASS primer (wanted)

Roger Bivand Roger.Bivand at nhh.no
Tue Aug 16 13:12:27 EDT 2005


On Tue, 16 Aug 2005, Thomas Adams wrote:

> Feng,
> 
> Go to CRAN (http://cran.r-project.org/) to the Newsletter section and 
> get the Volume 5/1, May 2005 issue. There is an article on the new 
> GRASS/R interface that's needed with R 2.1 & GRASS 6.x. Hope this helps.

Please make that: http://grass.itc.it/newsletter/index.php - the article 
is the the GRASS Newsletter volume 3, June 2005, pp. 11-16, and an erratum 
is there too for difficulties installing on a server rather than a 
workstation. 

rast.get() is replaced in the new framework by readFLOATsp() and 
readCELLsp(), so you will have to change your code; in addition, the 
objects returned are different too.

Roger

> 
> Tom
> 
> 
> Feng Tan wrote:
> 
> >Hi, List,
> >
> >Thanks for your help. I have successfully installed GRASS6.0/R. It works on 
> >spearfish test dataset. But when I run my own dataset which have worked for 
> >GRASS5.7/R does not work for GRASS6.0/R, it said:"cannot find function 
> >rast.get() ".   Please help!!
> >
> >Thanks!
> >
> >Feng
> >
> >
> >
> >On Saturday 23 July 2005 02:04, Markus Neteler wrote:
> >  
> >
> >>Hi Feng,
> >>
> >>I always launched update.packages() before installing the
> >>sp things. Then a Tcl window pops up where I select a mirror
> >>site.
> >>
> >>Or: probably you tcl/tk libraries are not installed [properly]?
> >>
> >>Markus
> >>
> >>On Fri, Jul 22, 2005 at 09:23:44AM -0600, Feng Tan wrote:
> >>    
> >>
> >>>hi, Markus,
> >>>
> >>>When I installing the R/GRASS6.0 interface using your instruction , the
> >>>
> >>>following error showed:
> >>>      
> >>>
> >>>>install.packages(c("sp","rgdal","maptools"), dependencies=TRUE)
> >>>>        
> >>>>
> >>>--- Please select a CRAN mirror for use in this session ---
> >>>Error in inherits(x, "factor") : Object "res" not found
> >>>
> >>>what happened?
> >>>
> >>>Thanks,
> >>>
> >>>Feng
> >>>
> >>>On Thursday 21 July 2005 03:15, Markus Neteler wrote:
> >>>      
> >>>
> >>>>[GRASSLIST:7657] Re: R Stats and GRASS primer (wanted)
> >>>>
> >>>>From:
> >>>>Markus Neteler
> >>>>        
> >>>>
> >
> >  
> >
> 
> 
> 

-- 
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-user mailing list