-
Notifications
You must be signed in to change notification settings - Fork 0
Native R on Apple Silicon
R can be run natively on the Apple M1 (arm64) Macs. Some discussion below from the tidyverse and Rstudio repos is a useful reference:
https://github.com/tidyverse/tidyverse/issues/248
https://github.com/rstudio/rstudio/issues/8652
The important steps to get the unstable 4.1 release of R for arm64 installed on Mac are listed in the following post at R-bloggers:
https://www.r-bloggers.com/2021/02/fully-native-m1-apple-silicon-r-setup/
The only thing that seems wrong in these instruction is setting the path export PATH=/opt/R/arm64/bin:$PATH
as at least in my computer the R and Rscript programs are located in /Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/bin
instead of /opt/R/arm64/bin
.
One can also create a new conda environment that updates the PATH to include the location of R for the arm64 architecture.