Alessandro, The rsaga.geoprocessor needs to get all SAGA parameters via the argument "param", e.g.:
> rsaga.geoprocessor(lib="geostatistics_grid", module=6, > param=list(ZONES="plots.sgrd", CATLIST=0, STATLIST="DCM_1_power10.sgrd", OUTTAB="stat_DCM_1_power10")) You seem to often forget that solution to your problems is in reading carefully the description and examples provided by the people that compile R packages: > ?rsaga.geoprocessor Tom Hengl http://spatial-analyst.net/wiki/index.php?title=Software#First_steps_in_SAGA -----Original Message----- From: [EMAIL PROTECTED] on behalf of Alessandro Sent: Wed 29/10/2008 11:03 PM To: r-sig-geo@stat.math.ethz.ch Subject: [R-sig-Geo] Help with "Zonal Grid Statistics" (R+SAGA) Hi All, I have two raster (plots.sgrd the "Zone Grid" and DCM_1_power10.sgrd the "Grids to analyse") In SAGA the "Zonal Grid Statistics" run very well but not in R. Could you help and suggestion me please? ************************ rsaga.geoprocessor(lib="geostatistics_grid", module=6) SAGA CMD 2.0.3 library path: C:\Windows/modules library name: geostatistics_grid module name : Zonal Grid Statistics author : Copyrights (c) 2005 by Volker Wichmann error: executing module [Zonal Grid Statistics] Usage: -silent -ZONES <str> [-CATLIST <str>] [-STATLIST <str>] -OUTTAB <str> -ZONES:<str> Zone Grid Grid (input) -CATLIST:<str> Categorial Grids Grid list (optional input) -STATLIST:<str> Grids to analyse Grid list (optional input) -OUTTAB:<str> Result Table Table (output) The value for the option 'ZONES' must be specified. > rsaga.geoprocessor(lib="geostatistics_grid", module=6, ZONES="plots.sgrd", CATLIST=0,STATLIST="DCM_1_power10.sgrd", OUTTAB="stat_DCM_1_power10") Errore in system(command, intern = intern, show.output.on.console = show.output.on.console, : unused argument(s) (ZONES = "plots.sgrd", CATLIST = 0, STATLIST = "DCM_1_power10.sgrd", OUTTAB = "stat_DCM_1_power10") > [[alternative HTML version deleted]] _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo [[alternative HTML version deleted]] _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo