您好,我在您的教程“使用ArchR分析单细胞ATAC-seq数据(第一章)(https://blog.csdn.net/u012110870/article/details/106328674)”下载安装ArchR,我的R环境是配置在anaconda环境中的,按照您所说的,下载好了devtools和Bio,然后在下载ArchR是,出现报错,想请教您一下应该怎么安装,如有打扰万分抱歉
> if (!requireNamespace("devtools", quietly = TRUE)) install.packages("devtools")
> if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager")
> devtools::install_github("GreenleafLab/ArchR", ref="master", repos = BiocManager::repositories())
Downloading GitHub repo GreenleafLab/ArchR@master
Error in utils::download.file(url, path, method = method, quiet = quiet, :
download from 'https://api.github.com/repos/GreenleafLab/ArchR/tarball/master' failed
> devtools::install_github("GreenleafLab/ArchR", ref="master", repos = BiocManager::repositories())
Error: Failed to install 'ArchR' from GitHub:
Timeout was reached: [api.github.com] Proxy CONNECT aborted due to timeout
> options("repos"=c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/"))
> devtools::install_github("GreenleafLab/ArchR", ref="master", repos = BiocManager::repositories())
Downloading GitHub repo GreenleafLab/ArchR@master
Error in utils::download.file(url, path, method = method, quiet = quiet, :
download from 'https://api.github.com/repos/GreenleafLab/ArchR/tarball/master' failed
> Sys.setenv(CONDA_BUILD_SYSROOT="/")
> devtools::install_github("GreenleafLab/ArchR", ref="master", repos = BiocManager::repositories())
Downloading GitHub repo GreenleafLab/ArchR@master
Error in utils::download.file(url, path, method = method, quiet = quiet, :
download from 'https://api.github.com/repos/GreenleafLab/ArchR/tarball/master' failed
Downloading GitHub repo GreenleafLab/ArchR@master
Error in utils::download.file(url, path, method = method, quiet = quiet, :
download from 'https://api.github.com/repos/GreenleafLab/ArchR/tarball/master' failed
Error: Failed to install 'ArchR' from GitHub:
Timeout was reached: [api.github.com] Proxy CONNECT aborted due to timeout
我试着用官方文档中的流程安装,发现不能成功,于是在conda安装了devtools,之后再R中安装了BiocManager,但在安装ArchR时出现报错,换源选择中科大的也没有下载成功,于是我从GitHub下载了ArchR并上传,下载得到的文件是.zip格式,也没有安装成功
在anaconda配置的R中成功安装ArchR并运行
原文和链接打开都没有内容了,建议还是按照步骤一步步下载安装
【在anaconda配置的R中成功安装ArchR并运行】
基于Ubuntu 16.04的Linux操作系统
1、Anaconda安装及R环境配置:http://wjhsh.net/xiaofeiIDO-p-11911113.html
2、ArchR官网教程学习笔记1安装ArchR:Getting Started with ArchR:https://www.jianshu.com/p/a2bcdfb77961