资源链接
以下命令需要确保docker已经安装,如果docker没有安装请参考这里安装
运行以下命令启动预装了tidyverse
的rstudio
容器
docker run --rm -it registry.cn-hangzhou.aliyuncs.com/wybioinfo/tidyverse:4.3 R
docker run --rm \
-p 8787:8787 \
-e "DISABLE_AUTH=true" -e R_LIBS_USER=/home/rstudio/Rpackage \
-v $PWD:/home/rstudio -v $PWD/Rpackage:/home/rstudio/Rpackage \
registry.cn-hangzhou.aliyuncs.com/wybioinfo/tidyverse:4.3
# bioconductor 镜像源
## https://www.bioconductor.org/about/mirrors/
# bioconductor安装
## https://bioconductor.org/install/
if(F){
options(repos=structure(c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/")))
options(BioC_mirror="https://mirrors.tuna.tsinghua.edu.cn/bioconductor")
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install(version = "3.18")
}