R语言学习备忘笔记

1.bioconductor新的安装方式

废弃警告:

Warning messages:
1: package ‘BiocInstaller’ was built under R version 3.5.1 
2: 'BiocInstaller' and 'biocLite()' are deprecated, use the 'BiocManager' CRAN package instead. 
3: 'biocLite' is deprecated.
Use 'BiocManager::install' instead.
See help("Deprecated") 
source("https://bioconductor.org/biocLite.R")
options(BioC_mirror="http://mirrors.ustc.edu.cn/bioc/")
biocLite("BiocUpgrade")
biocLite("phyloseq")

上面是以前的安装方式,已经被废弃,现在推荐使用新的安装方式安装:

install.packages("BiocManager")
BiocManager::install("phyloseq")

理简单了,不用记之前的命令和网址了,统一到CRAN,好事!

发帖时间: R 归档位置:

发表评论