gpt4 book ai didi

Xubuntu 16.04 上的 R 升级/安装

转载 作者:行者123 更新时间:2023-12-04 18:44:47 25 4
gpt4 key购买 nike

我试图在 Xubuntu 16.04 上将我的 R 从 3.4.4 升级到 3.5。
我按照这个指示

  • 进入文件:computer/etc/apt/sources.list 其他软件添加deb
    http://www.icesi.edu.co/CRAN/bin/linux/ubuntu xenial-cran35/<---
    根据当前版本更改“-cran35”
    "https://cran.r-project.org/bin/linux/ubuntu/ "
  • 打开终端(Ctrl+Alt+T)在终端上写:sudo apt-get update在终端上输入您的 PC session 的密码:
    sudo apt-get
    install r-base 重启电脑

  • 然而,在 sudo apt-get install r-base ,我收到以下错误:

    Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

    The following packages have unmet dependencies: r-base : Depends: r-recommended (= 3.5.1-1xenial) but it is not going to be installed E: Unable to correct problems, you have held broken packages.



    这是依赖错误吗?我所做的是我必须确保添加了 APT 安全 key 。

    最佳答案

    我通过删除旧的 CRAN deb 源解决了我自己的问题:
    http://www.icesi.edu.co/CRAN/bin/linux/ubuntu谢尼尔

    关于Xubuntu 16.04 上的 R 升级/安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53075488/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com