M1 MAC更新R

在官网下载最新版本,按提示运行。

https://mirrors.tuna.tsinghua.edu.cn/CRAN/index.html

下载最新R后可直接安装,RSudio会自动连接最新R。
但是需要注意M1芯片适用的R版本。
为了正常使用,M1 MAC最好安装intel版本的R。

Note that you are using a version of R that was compiled for macOS-arm64, probably R-4.1.0-arm64.pkg from CRAN.
Please be aware that Bioconductor does not support the Apple M1 (a.k.a. arm64) architecture in native mode yet, only via Rosetta, which is the emulator built into macOS Big Sur that enables Mac M1 systems to run Intel x86_64 apps. Concretely this means that if you are on an Apple M1 system, we strongly recommend that you use the official Intel 64-bit R (x86_64 arch) from CRAN available here: https://cran.r-project.org/bin/macosx/ (choose R-4.1.0.pkg, NOT R-4.1.0-arm64.pkg). This will run on the Apple M1 platform in emulation mode.
The great benefit of doing this is that you will then be using something that we do support. In particular you'll be able to install Intel 64-bit Mac binary packages from CRAN and Bioconductor, including the Mac binary for Rhtslib which should install and work out-of-the-box without any compilation/linking/headache involved. Installing binary packages is also much faster.
https://support.bioconductor.org/p/9137290/

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容