Miniforge makes this easier.Īt this point, I got stuck. It took me a while to realize that all the cool kids use conda-forge as their default repository. I added this alias because I have never met anyone that wanted to save their workspace. I like to use the terminal in VS Code but you can just open the Terminal application that comes on Mac located in the Utilities folder within Applications.Įcho 'export PATH="/opt/homebrew/bin:$PATH"' > ~/.zshrcĮcho 'alias R="/opt/homebrew/opt/r/bin/R -vanilla"' > ~/.zshrc Install Xcode from the App store then run: This provides the native Arm64 version R which can be used with radian installed through Arm64 conda and allows R to work with the native Arm64 version of RStudio. The key to everything is switching to homebrew for installation. I have since adopted scripts to automate (and document) my setup. ![]() ![]() My last Mac adventure over 20 years ago had me downloading and installing everything by hand. ![]() This post will focus on installing R for Arm64, radian, and RStudio Desktop. I recently bought a MacBook Air with the M1 processor and I have had difficulties in rebuilding my coding environment.
0 Comments
Leave a Reply. |