方法一:
library(GSVA)
Error in library(GSVA) : there is no package called ‘GSVA’
> library(gsva)
Error in library(gsva) : there is no package called ‘gsva’
> help(package = "GSVA")
Error in find.package(pkgName, lib.loc, verbose = verbose) :
there is no package called ‘GSVA’
> q()
下一步:
在conda环境中 下载 : conda install "/public/workspace/fanhaihua/bioconductor-gsva-1.50.0-r43ha9d7317_1.tar.bz2" (本地安装)
你会看到界面:
Downloading and Extracting Packages:
## Package Plan ##
environment location: /public/workspace/fanhaihua/miniconda3/envs/R4.4.1
added / updated specs:
- bioconductor-gsva[url=file:///public/workspace/fanhaihua/bioconductor-gsva-1.50.0-r43ha9d7317_1.tar.bz2]
The following NEW packages will be INSTALLED:
bioconductor-gsva <unknown>/linux-64::bioconductor-gsva-1.50.0-r43ha9d7317_1
Downloading and Extracting Packages:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
重新打开R
> library(GSVA)
>
安装成功!
附件:https://anaconda.org/bioconda/bioconductor-gsva
相关包在上面这个链接里面下载
方法二:
先本地下载这个Bioconductor Spatialexperiment | Anaconda.org R Magick | Anaconda.org和 R Magick | Anaconda.org
conda安装代码 (2个,下载的文件来源于上面的链接)
conda install "本地/bioconductor-spatialexperiment-1.12.0-r43hdfd78af_0.tar.bz2"
conda install conda-forge::r-magick
然后打开R
library(SpatialExperiment)
接下来重头戏!!
> library(GSVA)
Error in library(GSVA) : there is no package called ‘GSVA’
> install.packages(本地/GSVA_2.0.1.tar.gz", repos = NULL, type = "source")(Bioconductor - GSVA)
你就会看到 * DONE (GSVA)
最后再 library(GSVA)
> library(GSVA)
>