[R-sig-Geo] readRAST6() in {spgrass6}

Dylan Beaudette debeaudette at ucdavis.edu
Wed May 18 15:21:55 CEST 2011


On Tuesday, May 17, 2011, Roger Bivand wrote:
> On Tue, 17 May 2011, Dylan Beaudette wrote:
> 
> > On Tuesday, May 17, 2011, Sam Prentice wrote:
> >> #read in raster files
> >> x =
> >> 
readRAST6(c("clip1_er1m","clip1_crosC_1m","clip1_longC_1m","clip1_slope5","c
> >> lip1_profC","clip1_miniC_1m","clip1_maxiC_1m"))
> >> D:/GRASSdata/Sedgwick2/PERMANENT/.tmp/clip1_er1m has GDAL driver GTiff
> >> and has 500 rows and 402 columns
> >>
> >
> >
> > Try something like this and report back:
> > x <-
> > 
readRAST6(vname=c("clip1_er1m","clip1_crosC_1m","clip1_longC_1m","clip1_slope5","clip1_profC","clip1_miniC_1m","clip1_maxiC_1m"),
> > plugin=TRUE, useGDAL=FALSE)
> 
> Dylan:
> 
> Sam will not have a GRASS/GDAL plugin on Windows - it isn't in the 
> standard rgdal binary, and Sam will not want to compile from source, I 
> think. I believe that the problem is that initGRASS() is not appropriate 
> here - see my reply to Sam.
> 
> Roger

Thanks for the clarification Roger. It seems that I may have given some bad 
advice to Same, based on my lack of experience with tying GRASS-R together on 
Windows...

Dylan


> >
> > Dylan
> >
> >
> 
> -- 
> 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
> 
> 


-- 
Dylan E. Beaudette
USDA-NRCS Soil Scientist
California Soil Resource Lab
http://casoilresource.lawr.ucdavis.edu/



More information about the R-sig-Geo mailing list