Evan の Logbook
✨ Updates
🎨 Style Guide
🧠 Creative Resources
🗒️ Mind Notes
🧭 Knowbase
📘 SOPs
🩺 Medical Research
🛠️ Tech Chronicles
💰 Fortune Blueprint
📈 R Visionary
📊 Statistics
🖼️ BioVis
R设置CRAN与Bioconductor镜像速查
type
status
date
slug
summary
tags
category
icon
password
comment
1. 查看当前镜像
2. 手动选择镜像(互动回复)
- 对话框选择,回复序号即可
3. 直接设定镜像(推荐写入Rprofile)
- 推荐在
~/.Rprofile或Rprofile.site全局写入,避免每次手动输入
4. 国内常用镜像列表
- CRAN清华镜像
https://mirrors.tuna.tsinghua.edu.cn/CRAN/- CRAN阿里云镜像
https://mirrors.aliyun.com/CRAN/- Bioconductor西湖镜像
https://mirrors.westlake.edu.cn/bioconductor5. 高阶场景tips
- BiocManager自动安装包时会用BioC_mirror和repos共同决定源,强烈建议两个都设定
- RStudio/服务器建议优先配好镜像,避免国外源卡顿、失败
- 如遇到包下载慢/失败,优先考虑是否是镜像问题
如遇镜像失效、需要切换新镜像或特殊环境配置,直接补充到本页。
Prev
R取余、整除与分批处理技巧
Next
R版本升级与包迁移实用指南
Loading...
YouTube 使用笔记