Installing R and R Studio on a MacBook

힘센캥거루
2025년 12월 29일(수정됨)
1
49

I was planning to use Python instead of R, but when it came to writing a paper, it seemed like I would still need R and R Studio.

But my computer is a MacBook, right?

So this post is about how to install R and R Studio on a MacBook.

1. Install Homebrew

You can just go to the official R website, download the file for Mac OS, and install it.

But that’s not very cool.

Let’s just go ahead and install Homebrew.

Installing R and R Studio on a MacBook-1

Just go to the site below and paste what it tells you into the terminal.

2. Install R and R Studio

Now you can take care of all the annoying installation steps with these three commands.

--cask is used when installing GUI apps.

brew update
brew install --cask r
brew install --cask rstudio

By the time I wrote a short paragraph, the installation was done.

When installing R, it may ask for sudo privileges.

Just enter your password once and you’re good.

Installing R and R Studio on a MacBook-2

Then go to Applications to check that everything is installed.

This is exactly why I can’t quit using a MacBook.

Installing R and R Studio on a MacBook-3

I launched R Studio and tested it, and it runs just fine with no issues.

Installing R and R Studio on a MacBook-4

3. Thoughts

There’s nothing bad about learning something new.

With Python’s pandas, numpy, and matplotlib, you can basically reproduce all of R’s functionality, but when you’re building something from scratch, it does take more work.

I want to learn R properly and really put it to use when I write my paper.

관련 글

30대 후반 남성의 마운자로 5mg 후기
30대 후반 남성의 마운자로 5mg 후기
나는 키 174cm, 몸무게 87kg의 BMI 지수가 28인 비만이다.예전에는 과체중에서 그쳤는데, 최근 들어 살이 급격하게 늘어나면서 비만에 접어들게 되었다.나이가 30대 후반으로 접어들면서, 기존에 갖고 있던 비중격 만곡으로 인한 코골이가 심해졌다.거기에 더불어 살...
Fixing a Broken LEXON MINA – Full Repair of Internal FFC Cable, Contacts, etc.
Fixing a Broken LEXON MINA – Full Repair of Internal FFC Cable, Contacts, etc.
Weekend evening.I was doing the dishes when my second child suddenly came over going “da, da” while holding something in both hands.It was the LEXON M...
Review of Removing a Wart from My 4‑Year‑Old’s Toe
Review of Removing a Wart from My 4‑Year‑Old’s Toe
One day after giving my child a bath, I was looking at their feet and noticed something dark at the tip of a toe.At first it looked like a corn on the...
Responding to Expired Domain Abuse – When Someone Misuses My Old Domain
Responding to Expired Domain Abuse – When Someone Misuses My Old Domain
My old blog used to be fecu.tistory.com on Tistory.But after deciding to create a Next.js blog, I deleted all the posts on Tistory and even deleted th...
How to Buy an FLX Damper – Fixing a Built-in Closet Damper, Repairing a Closet Door That Slams
How to Buy an FLX Damper – Fixing a Built-in Closet Damper, Repairing a Closet Door That Slams
One day, the door of the built-in closet in the master bedroom started closing with a loud thud.At first I thought we could just close it gently and d...
Sanggye Paik Hospital ER Review – Criteria for Stitches, Dressing Method, and Healing Time for Stitched Wounds
Sanggye Paik Hospital ER Review – Criteria for Stitches, Dressing Method, and Healing Time for Stitched Wounds
I accidentally slipped while picking up a razor I dropped on the bathroom floor.As I struggled to regain my balance, I kicked the edge of the bathtub...

댓글을 불러오는 중...