Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/28.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/67.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
Linux 如何解决;错误:工具";和RSAGA?_Linux_R_Ubuntu_Gis_Saga - Fatal编程技术网

Linux 如何解决;错误:工具";和RSAGA?

Linux 如何解决;错误:工具";和RSAGA?,linux,r,ubuntu,gis,saga,Linux,R,Ubuntu,Gis,Saga,我在Ubuntu 14 64位版本上使用R3.1.1。我安装了SAGA GIS 2.1.2和RSAGA 0.93-6 到目前为止,一切似乎都很顺利 rsaga.env()有效,我使用: work_env <- rsaga.env(modules='/usr/lib/x86_64-linux-gnu/saga/') 但当我尝试获取模块或其他任何东西时,会出现一个奇怪的错误: > rsaga.get.modules("ta_preprocessor", env=work_env) Er

我在Ubuntu 14 64位版本上使用R3.1.1。我安装了SAGA GIS 2.1.2和RSAGA 0.93-6

到目前为止,一切似乎都很顺利

rsaga.env()有效,我使用:

work_env <- rsaga.env(modules='/usr/lib/x86_64-linux-gnu/saga/')
但当我尝试获取模块或其他任何东西时,会出现一个奇怪的错误:

> rsaga.get.modules("ta_preprocessor", env=work_env)
Error: tool
$ta_preprocessor
NULL
我发现rsaga官方不支持更高版本的SAGA GIS 2.1.0,但当我尝试2.1.0时,我得到了另一个问题中描述的错误:


我应该如何解决这个错误呢?

我通过从源代码()编译SAGA GIS 2.1.1解决了这个问题。当我用RSAGA执行一个工具时,我确实得到了另一个错误;“Error:module”,但执行似乎很好

此外,SAGA GIS有时会因分段错误而退出。。。但不是经常

> rsaga.get.modules("ta_preprocessor", env=work_env)
Error: tool
$ta_preprocessor
NULL