I'm trying to execute module for Channel networks in RSAGA but when I run this part of code:
rsaga.geoprocessor(lib="ta_channels", module=5, param=list(DEM=paste("DEM", i, ".sgrd", sep=""), DIRECTION=paste("FlowDirection", i, ".sgrd", sep=""), SEGMENTS=paste("Segments", i, ".shp", sep=""), BASIN=paste("Basin", i, ".sgrd", sep=""), BASINS="basians.shp"), show.output.on.console=TRUE)
I get this error:
error: could not find module: shapes_grid
Any idea how to solve this. Thanks!