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

Roger Bivand Roger.Bivand at nhh.no
Wed May 18 07:58:37 CEST 2011


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

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



More information about the R-sig-Geo mailing list