Installing tidyverse on MacBook

Hello,

Taking the Coursera tutorial on R, which requires using the tidyverse, but I'm at a brick wall installing it. After running the install packages function, it returned:

Warning in install.packages :
installation of package ‘tidyverse’ had non-zero exit status

The downloaded source packages are in
‘/private/var/folders/2t/06vb2bfd6_3bgxs3sb8fnxpc0000gn/T/RtmpiMAyu3/downloaded_packages’

I use a 2016 MacBook Pro. Monterey OS 12.6.8.
My RStudio is version 3.4.1

Any guidance would be greatly appreciated.

Welcome to the community!

You are confusing R and RStudio, which is easy for beginners. You probably have version 3.4.1 of R, which is six years old. I suggest you install something newer. Some of the tidyverse packages require at least 3.5.

The current version is 4.3.1. Make sure it is for Intel processors, not M1 or M2. Also what version of RStudio are you using?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.