Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/go/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
错误:无法找到模块RSAGA_R_Saga - Fatal编程技术网

错误:无法找到模块RSAGA

错误:无法找到模块RSAGA,r,saga,R,Saga,我试图在RSAGA中为通道网络执行模块,但当我运行这部分代码时: 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"

我试图在RSAGA中为通道网络执行模块,但当我运行这部分代码时:

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)
我得到这个错误:

错误:找不到模块:形状网格


你知道怎么解决这个问题吗。谢谢

最可能的原因是RSAGA不知道SAGA安装在哪里

请提供更多详细信息,例如您安装了SAGA的系统,以及安装路径

使用


查看是否有任何库可见

我不知道您是否设置了SAGA安装和工作区目录,因此,请尝试以下操作:

工作空间 主任工作
rsaga.get.libraries()