生信星球培训第八十九期

学习小组Day5笔记--jam

2020-11-23  本文已影响0人  Dcam

R包学习

镜像设置

# options函数就是设置R运行过程中的一些选项设置
options("repos" = c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/")) #对应清华源
options(BioC_mirror="https://mirrors.ustc.edu.cn/bioc/") #对应中科大源
# 当然可以换成其他地区的镜像
options()$repos#查看镜像
options()$BioC_mirror##查看bioconducter镜像
##永久修改
file.edit()
file.edit('~/.Rprofile')
options("repos" = c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/")) #对应清华源
options(BioC_mirror="https://mirrors.ustc.edu.cn/bioc/") #对应中科大源
##保存退出,永久修改

R包安装

install.package()
BioManager::install()

学习dplyr函数

image.png
image.png
上一篇下一篇

猜你喜欢

热点阅读