I have an old iMac still working fine and as a new R user, I have installed RStudio Version 1.3.1093 on my Mac. However when I want to install some packages such as ggplot2, readxl, tidyr, dplyr, I get the following warnings saying that the requested dependencies are not available anymore:
The repository path RStudio is using no longer exists, possibly because you are apparently running a rather old version of R. In RStudio, go to Tools > Global Options... > Packages and tell us what you see in the "Primary CRAN Repository" field. If it's not "Global (CDN) - RStudio", try picking that with the "Change..." button (should be top of the list) and see if things work more smoothly. It might require some nontrivial voodoo to get RStudio pointed at a repo for your version of R ... or you might need to try upgrading to a more recent R version.
Many thanks to both of you.
I have tried to update my R version to 4.2.3, which seems to be the appropriate version for MacOS high Sierra and it seems to work better. At least RStudio was able to find most of the packages I needed so far. Much appreciated!
Best regards