安裝R包GOstats赊淑,出現(xiàn)以下錯誤:
ERROR: dependency ‘httr’ is not available for package ‘KEGGREST’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/KEGGREST’
ERROR: dependency ‘KEGGREST’ is not available for package ‘AnnotationDbi’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/AnnotationDbi’
ERROR: dependency ‘AnnotationDbi’ is not available for package ‘GO.db’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/GO.db’
ERROR: dependencies ‘AnnotationDbi’, ‘httr’ are not available for package ‘annotate’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/annotate’
ERROR: dependency ‘AnnotationDbi’ is not available for package ‘AnnotationForge’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/AnnotationForge’
ERROR: dependencies ‘a(chǎn)nnotate’, ‘AnnotationDbi’ are not available for package ‘GSEABase’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/GSEABase’
ERROR: dependencies ‘AnnotationDbi’, ‘a(chǎn)nnotate’ are not available for package ‘genefilter’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/genefilter’
ERROR: dependencies ‘AnnotationDbi’, ‘GSEABase’, ‘genefilter’, ‘a(chǎn)nnotate’ are not available for package ‘Category’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/Category’
ERROR: dependencies ‘Category’, ‘AnnotationDbi’, ‘GO.db’, ‘a(chǎn)nnotate’, ‘AnnotationForge’ are not available for package ‘GOstats’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/GOstats’
嘗試安裝“httr”
Installing package(s) 'httr'
also installing the dependency ‘openssl’
報錯:
Error: package or namespace load failed for ‘openssl’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/00LOCK-openssl/00new/openssl/libs/openssl.so':
? /public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/00LOCK-openssl/00new/openssl/libs/openssl.so: undefined symbol: EVP_CIPHER_CTX_block_size
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/openssl’
ERROR: dependency ‘openssl’ is not available for package ‘httr’
* removing ‘/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/httr’
始終解決不了這個bug
Error: package or namespace load failed for ‘openssl’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/00LOCK-openssl/00new/openssl/libs/openssl.so':
? /public/home/wangyantao/soft/anaconda3/envs/r-4.1/lib/R/library/00LOCK-openssl/00new/openssl/libs/openssl.so: undefined symbol: EVP_CIPHER_CTX_block_size
使用conda install r-package 進行R包的安裝雹锣,直接安裝GOstats還是不行,
現(xiàn)在嘗試把報錯的那些附屬包先安裝上。
使用conda install r-package 或者 在R下使用BiocManager::install("package")
將GOstats中缺少的依賴包全部安裝:
1也祠、安裝openssl
conda install r-openssl
2、安裝httr
conda install r-httr
3、安裝KEGGREST澡谭,安裝失敗
conda install r-KEGGREST
4、進入R中進行安裝KEGGREST
BiocManager::install("KEGGREST")
5损俭、安裝AnnotationDbi
BiocManager::install("AnnotationDbi")
6蛙奖、安裝GO.db
BiocManager::install("GO.db")
7、安裝annotate
BiocManager::install("annotate")
依次安裝
BiocManager::install("AnnotationForge")
BiocManager::install("GSEABase")
BiocManager::install("genefilter")
BiocManager::install("Category")
BiocManager::install("GOstats")
安裝成功杆兵!