美文网首页生信星球培训第五十一期
学习小组Day6笔记--扑通&扑通

学习小组Day6笔记--扑通&扑通

作者: 积极向下的力量 | 来源:发表于2020-04-11 22:32 被阅读0次

R way -- P6

一劳永逸地设置国内镜像

file.edit('~/.Rprofile')#打开Rstudio的配置文件
options("repos" = c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/")) #对应清华源
options(BioC_mirror="https://mirrors.ustc.edu.cn/bioc/") #对应中科大源

保存,重启Rstudio

options()$repos来检查镜像地址

R包的安装

install.packages(“包”) -----> 包存在于CRAN网站

BiocManager::install(“包”) ----> 包存在于Biocductor网站

R包的加载

library(包) or require(包)

相关文章

网友评论

    本文标题:学习小组Day6笔记--扑通&扑通

    本文链接:https://www.haomeiwen.com/subject/prapmhtx.html