[R-sig-Geo] spGRASS6 issue

R.S. Bhalla rsbhalla at gmail.com
Wed Feb 6 12:18:57 CET 2013


Dear List,
I have run into trouble with the execGRASS command copied below and 
can't figure out what I'm doing wrong.
It runs fine without the size=11 argument (takes the default value of 
3). Can someone please help.
Thanks in advance,
Ravi

Command:
execGRASS("r.neighbors", parameters=list(input=patmap, output=n11map, 
method="median", size=11), flags=c("overwrite", "c"))

Error:
Error in doGRASS(cmd, flags = flags, ..., parameters = parameters, 
echoCmd = echoCmd) :
   Parameter <size> does not have integer value

-- 
R.S. Bhalla, Ph.D.
Sr.Research Fellow
Foundation for Ecological Research, Advocacy and Learning (FERAL)
Ph. +91 413 2671566
Fax. +91 413  2671567
Web: http://www.feralindia.org



More information about the R-sig-Geo mailing list