CS_Shrek 2024-10-24 16:42 采纳率: 14.3%
浏览 168
已结题

R 包chipseeker 安装失败

需要在Ubuntu系统下安装一些R包,安装了好几天了,一直安装不上,
操作系统是Ubuntu24.04,conda版本是v 24.5
conda配置的是清华源,R语言内也是配置的清华源

尝试了两种安装方式都安装不上
方式1 . 官网推荐的方式

## try http:// if https:// URLs are not supported
if (!requireNamespace("BiocManager", quietly=TRUE))
    install.packages("BiocManager")
## BiocManager::install("BiocUpgrade") ## you may need this
BiocManager::install("chipseeker")

Or the development version from github:
## install.packages("devtools")
devtools::install_github("YuLab-SMU/ChIPseeker")

方式2. 使用conda安装

conda install bioconda::bioconductor-chipseeker

conda安装通过ps -ef查看进程发现一直在下载安装包,下载不了,

img

普通用户,没有管理员权限

  • 写回答

22条回答 默认 最新

  • 檀越@新空间 2024-10-24 16:44
    关注
    获得0.45元问题酬金

    下午好🌅🌅🌅
    本答案参考ChatGPT-3.5

    首先,感谢您向我求助。经过尝试和观察,我发现了以下解决方案:

    1. 在 Ubuntu 24.04 上,建议使用 tryinstall.packages() 的组合来安装 R 包。

      try {
          # 安装 R 包
          install.packages("BiocManager")
          install.packages("BiocUpgrade")
          install.packages("chipseeker")
      } catch (e) {
          # 处理错误
          e.printStackTrace()
      }
      
    2. 如果您想使用 GitHub 版本的 ChIPseeker,请按照以下步骤操作:

      install.packages("devtools")
      devtools::install_github("YuLab-SMU/ChIPseeker")
      
    3. 在 Ubuntu 24.04 上,如果需要从 GitHub 下载最新的 ChIPseeker 版本,可以参考以下链接:

      • 下载最新稳定版:https://github.com/YuLab-SMU/ChIPseeker/releases/download/v1.6.0/chipseeker_1.6.0.tgz
      • 下载最新开发版(基于 Ubuntu 24.04):https://github.com/YuLab-SMU/ChIPseeker/releases/download/v1.6.0/devchipseeker_1.6.0.tgz

    希望这些建议能帮到您。如果您还有其他问题或需要进一步的帮助,请随时告诉我。祝好!

    评论

报告相同问题?

问题事件

  • 系统已结题 11月1日
  • 修改了问题 10月25日
  • 修改了问题 10月25日
  • 修改了问题 10月24日
  • 展开全部