How to install "tidyverse"package? I keep getting question "Do you want to install from sources the packages which need compilation?"

Please help!

My RStudio is updated and I'm using MacOS Big Sur 11.5.2

I have been trying to install a package called "tidyverse" but I was asked

  1. "Do you want to install from sources the packages which need compilation? (Yes/no/cancel)", once answered Yes,
  2. "Do you want to attempt to install these from sources? (Yes/no/cancel)"

After answering Yes to both questions, I get "The downloaded source packages are in
‘/private/var/folders/qp/fk7gff2n7mx7_k1zb98xchlm0000gn/T/Rtmp6Gwhxr/downloaded_packages’" and it will not be in my installed packages tab.

Please see screenshots below. Please help! Thank you!

You're on version 3.5 of R. Perhaps upgrade it and try again? The latest version is 4.1.1.

https://cran.r-project.org/bin/macosx/

1 Like

You are absolutely right! Thank you for your help! By the way how did you know I was on the outdated version?

1 Like

It was in the error message: * removing '/Users/amy/Library/R/3.5/library/modelr'

1 Like

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.