在linux下安装R(yum install R)后,运行R出现错误:
Error: package or namespace load failed for ‘utils’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/usr/lib64/R/library/utils/libs/utils.so':
/usr/lib64/R/library/utils/libs/utils.so: undefined symbol: libssh2_exit
Error: package or namespace load failed for ‘grDevices’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/usr/lib64/R/library/grDevices/libs/grDevices.so':
/usr/lib64/R/library/grDevices/libs/grDevices.so: undefined symbol: libssh2_exit
Error: package or namespace load failed for ‘graphics’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/usr/lib64/R/library/grDevices/libs/grDevices.so':
/usr/lib64/R/library/grDevices/libs/grDevices.so: undefined symbol: libssh2_exit
Error: package or namespace load failed for ‘stats’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/usr/lib64/R/library/grDevices/libs/grDevices.so':
/usr/lib64/R/library/grDevices/libs/grDevices.so: undefined symbol: libssh2_exit
Error: package or namespace load failed for ‘methods’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/usr/lib64/R/library/methods/libs/methods.so':
/usr/lib64/R/library/methods/libs/methods.so: undefined symbol: libssh2_exit

这里找到了解决方法:

升级libssh2

Error: package or namespace load failed for ‘utils’ in dyn.load(file, DLLpath = DLLpath, ...): unab

相关文章:

  • 2021-11-25
  • 2022-12-23
  • 2022-12-23
  • 2021-10-08
  • 2022-12-23
  • 2022-02-26
  • 2021-11-11
  • 2021-10-15
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-17
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
  • 2022-01-02
相关资源
相似解决方案