[R-sig-Geo] warning when using readRAST6

Roger Bivand Roger.Bivand at nhh.no
Wed Sep 23 11:31:31 CEST 2009


On Wed, 23 Sep 2009, Rainer M Krug wrote:

> Hi
>
> when I use readRAST6() I get the warning message below. it happens to
> different GRASS layers. Is this a problem on my side, or in readRAST6?

In readRAST6, or rather in doGRASS(), which assumed that all GRASS 
commands take parameters, but g.version doesn't. Fix committed to 
r-spatial on sourceforge if you can't wait for the next release.

Thanks for a clear report,

Roger

>
> Cheers,
>
> Rainer
>
>
>> x <- readRAST6("MASK")
> Warning message:
> In is.na(pt[, "keydesc_count"]) :
>  is.na() applied to non-(list or vector) of type 'NULL'
>>
>
>> sessionInfo()
> R version 2.9.2 (2009-08-24)
> i486-pc-linux-gnu
>
> locale:
> LC_CTYPE=en_ZA.UTF-8;LC_NUMERIC=C;LC_TIME=en_ZA.UTF-8;LC_COLLATE=en_ZA.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_ZA.UTF-8;LC_PAPER=en_ZA.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_ZA.UTF-8;LC_IDENTIFICATION=C
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> other attached packages:
> [1] multicore_0.1-3 RSQLite_0.7-2   DBI_0.2-4       spgrass6_0.6-9
> [5] XML_2.1-0       rgdal_0.6-18    maptools_0.7-26 foreign_0.8-37
> [9] sp_0.9-44       simecol_0.5-7   deSolve_1.3
>
> loaded via a namespace (and not attached):
> [1] grid_2.9.2      lattice_0.17-25
>

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