Making the M1 leap

notes
macOS

Resources, notes, and assorted bemoanings as I make the move from my ye olde Intel MBP (x86) to the hot new M1 (arm64), and get my R development environment up and running.


Author

Mara Averick

Published

December 6, 2021


🚧 WIP Update

I’ve decided to take things nice and slow with this transition, but I have been keeping track of links and resources I’ve used along the way in a gist. Many of them are in the R posts listed below, but, in the event that you want to take a peek, here’s my list of links I’ve found useful along the way.

Update redux

I found myself taking so many notes in that GitHub gist, that I decided I needed my own sort of internal documentation. Thus, Mara’s Notebook was formed—the contents of which are primarily targeted at yours truly. However, the finer details of my personal setup are in there should you find yourself curious.

Step 0: A cry for help

Not necessary by any means, but my journey began with the announcement of my upcoming transition to the M1 build, and request for the collective wisdom from the good people of Twitter.

You can see all of the replies by going to the original tweet (in case you’re new to how Twitter works), but the general consensus is that I should start from scratch, and that R users are pretty darn well taken care of at this point. Bob Rudis (now @hrbrmstr@mastodon.social) summed it up nicely:

R Core & CRAN have done a magnificent job supporting our brave new arm64 macOS world. Setup the M1 Max MBPro from scratch the other week and the only gotcha is x86_64 ODBC drivers (for me) — which means I have to have both R architectures installed.

— bòB Ruðís (@hrbrmstr) December 5, 2021

There are already several posts out there that target my specific scenario (developer-ish person, R user, etc). If you only read one thing before embarking on this journey, leave this post now and head directly to Patrick Schratz’ excellent article, Transitioning from x86 to arm64 on macOS - experiences of an R user. It covers pretty much everything you could hope for, and is being continually updated (there’s a new section on dealing with rJava, as of this morning1).

I also recommend Garrick Aden-Buie’s Setting up a new MacBook Pro (ht Tom Mock), especially if you enjoy screenshots. Also, Stephanie Hazlitt’s immensely useful MacBook Pro M1 (2020) Set-Up.

The sojourn begins

The primary tools for this project: my old MacBook Pro, my new MacBook Pro, the aforementioned blog posts, pen and paper.

As you may or may not be able to tell from the photo in that tweet, I have an external hard drive (y’know, the thing you keep Time Machine on). But, as of this point (almost one month later), I haven’t had cause to use it.

Homebrew all the things

Homebrew, https://brew.sh, is an absolute must for getting your on a Mac set up right. Installing homebrew is one of the first things I did after firing up the new computer:

Terminal
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Back to top

Footnotes

  1. Written on 6 December, 2021.↩︎

Reuse

Citation

BibTeX citation:
@online{averick2021,
  author = {Averick, Mara},
  title = {Making the {M1} Leap},
  date = {2021-12-06},
  url = {https://quartoand.me/notes/2021-12_making-the-m1-leap.html},
  langid = {en}
}
For attribution, please cite this work as:
Averick, Mara. 2021. “Making the M1 Leap.” December 6, 2021. https://quartoand.me/notes/2021-12_making-the-m1-leap.html.