我已经在Ubuntu中更新了R(Microsoft机器学习服务器R),更新后RevoScaleR程序包停止工作。我尝试查看日志,但是它不存在。有人知道吗?
编辑:我发现找不到libRblas.so,但它存在于/ runtime / R / lib中
library(RevoScaleR)
C++ runtime exception caught: could not open FIFO /tmp/Rtmp9FpGRx/RevoFIFO.140827.2
Error: package or namespace load failed for ‘RevoScaleR’:
.onLoad failed in loadNamespace() for 'RevoScaleR', details:
call: dyn.load(linkDllName)
error: fatal error: RevoScaleR cannot be used in this R session anymore, if possible restart R session
error code 127, detailed error message might be found in: /tmp/Rtmp9FpGRx/stdoutrppZXg (standard output) and /tmp
"RevoScaleR" %in% dir(.libPaths())
的输出是TRUE
。 最佳答案
事实证明,更新之后,库神奇地消失了。我通过手动复制必要的库来解决它:
sudo cp /opt/microsoft/mlserver/9.2.1/runtime/R/lib/libmkl_gnu_thread.so /opt/microsoft/mlserver/9.2.1/libraries/RServer/RevoScaleR/rxLibs/x64/libmkl_gnu_thread.so
sudo cp /opt/microsoft/mlserver/9.2.1/runtime/R/lib/libRblas.so /opt/microsoft/mlserver/9.2.1/libraries/RServer/RevoScaleR/rxLibs/x64/libRblas.so
sudo cp /opt/microsoft/mlserver/9.2.1/runtime/R/lib/libmkl_gf_lp64.so /opt/microsoft/mlserver/9.2.1/libraries/RServer/RevoScaleR/rxLibs/x64/libmkl_gf_lp64.so
sudo cp /opt/microsoft/mlserver/9.2.1/runtime/R/lib/libRlapack.so /opt/microsoft/mlserver/9.2.1/libraries/RServer/RevoScaleR/rxLibs/x64/libRlapack.so
sudo cp /opt/microsoft/mlserver/9.2.1/runtime/R/lib/libmkl_core.so /opt/microsoft/mlserver/9.2.1/libraries/RServer/RevoScaleR/rxLibs/x64/libmkl_core.so
sudo cp /opt/microsoft/mlserver/9.2.1/runtime/R/lib/libmkl_vml_mc3.so /opt/microsoft/mlserver/9.2.1/libraries/RServer/RevoScaleR/rxLibs/x64/libmkl_vml_mc3.so
sudo cp /opt/microsoft/mlserver/9.2.1/runtime/R/lib/libmkl_vml_def.so /opt/microsoft/mlserver/9.2.1/libraries/RServer/RevoScaleR/rxLibs/x64/libmkl_vml_def.so
关于r - R机器学习服务器-RevoScaleR错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/49413000/