[R-sig-Geo] spgrass6 with GRASS 7

Roger Bivand Roger.Bivand at nhh.no
Fri Apr 13 00:23:14 CEST 2012


On Fri, 13 Apr 2012, Paulo van Breugel wrote:

> Hi,
>
> I am working on Ubuntu amd64, R 2.15.0, GRASS 7.0
>
> I am trying to import a GRASS raster layer in R, but I am getting the
> following error message:

Which version of spgrass6? CRAN version 0.7-10 released March 18, 2012 
should have resolved this issue.

Roger

>
>> mydata <- readRAST6(vname=c("map1","map2"), useGDAL=F)Command: r.info
> Description: Outputs basic information about a raster map.
> Keywords: raster, metadata, history
> Parameters:
>  name: map, type: string, required: yes, multiple: no
>  keydesc: name, keydesc_count: 1
> [Name of raster map]
> Flags:
>  name: g [Print raster array information only] {FALSE}
>  name: r [Print range only] {FALSE}
>  name: e [Print extended metadata information only] {FALSE}
>  name: h [Print raster history instead of info] {FALSE}
>  name: verbose [Verbose module output] {FALSE}
>  name: quiet [Quiet module output] {FALSE}Error in doGRASS(cmd, flags
> = flags, ..., parameters = parameters, echoCmd = echoCmd) :
>  Invalid flag value: t
>
>
> Importing GRASS rasters works fine when running R within GRASS 6.4
>
> Rgds,
>
> Paulo
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

-- 
Roger Bivand
Department of Economics, NHH Norwegian School of Economics,
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