On Tue, Sep 1, 2009 at 9:50 PM, Roger Bivand<[email protected]> wrote: > On Tue, 1 Sep 2009, GRASS GIS wrote: > >> #739: v.mkgrid parameter needs two values but is multiple=NO ... >> here you need to use >> >> ... grid=paste(as.integer(100), as.integer(100), sep=",") > > No, > >> execGRASS("v.mkgrid", flags="overwrite", parameters=list(map="grd", >> grid=paste(as.integer(100), as.integer(100), sep=","))) >> Error in doGRASS(cmd, flags = flags, parameters = parameters) : >> Parameter <grid> does not have integer value > > because doGRASS() checks the type, and with c(as.integer(100), > as.integer(100)) would concatenate correctly with a comma.
I see (if possible, could we have the debug output of R?). > The problem is in the wrong setting of grid->multiple as NO, which simply > isn't examined from the command line. The wxpython GUI version has exactly > the same problem. For me it works in GRASS 6.5 wxGUI, also in the (current) 6.4.svn. Markus _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
