001、问题
Cannot connect to AnnotationHub server, using 'localHub=TRUE' instead Using 'localHub=TRUE'
library(AnnotationHub) library(biomaRt) library(clusterProfiler) hub <- AnnotationHub() ## 该句报错
002、解决方法
library(AnnotationHub) library(biomaRt) library(clusterProfiler) proxy <- httr::use_proxy(Sys.getenv('http_proxy')) httr::set_config(proxy) AnnotationHub::setAnnotationHubOption("PROXY", proxy) ## 添加以上三句 hub <- AnnotationHub()
。
标签:library,AnnotationHub,instead,Using,TRUE,localHub From: https://www.cnblogs.com/liujiaxin2018/p/18091167