【问题标题】:Unable to run R from command line (in Ubuntu)无法从命令行运行 R(在 Ubuntu 中)
【发布时间】:2019-06-28 23:38:18
【问题描述】:

最近我安装了 Anaconda 以在 iPython/jupyter notebook 中打开 R。

现在,我无法从命令行运行 R,当我键入 R 时,我得到:

$> R
/home/aknirala/anaconda3/lib/R/bin/exec/R: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory

我仍然可以通过在应用程序中搜索来打开它。我的问题:

  1. 当我通过应用程序搜索 R 时,我如何知道它是从哪里运行的。
  2. 是否有任何简单的修复方法可以从 anaconda 运行 R? (当我尝试从 iPython notebook 运行 R 时,我遇到了同样的错误)。

【问题讨论】:

    标签: r anaconda


    【解决方案1】:

    我意识到 Anaconda 在 ~/.bashrc 的末尾添加了一些脚本

    删除它,修复它。

    【讨论】:

      猜你喜欢
      • 2021-11-22
      • 1970-01-01
      • 2019-11-08
      • 2018-01-30
      • 2017-10-03
      • 2018-07-18
      • 2013-12-29
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多