This is a super frustrating problem - I cant load tidyverse, readr, and most other packages. I think the issue is with where the packages are loaded and where I am working? No clue though, I pretty terrible at this. The issue is ---
library(tidyverse)
Error: package or namespace load failed for ‘tidyverse’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/libs/Rcpp.so': dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/libs/Rcpp.so, 6): Symbol not found: _EXTPTR_PTR Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/libs/Rcpp.so Expected in: /Library/Frameworks/R.framework/Resources/lib/libR.dylib in /Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/libs/Rcpp.so
Here are some things about the libs and where they are (I think, not sure I found them looking at what others did to fix this).
Ive seen that others have had similar issues and have solved them, but I have no idea what anyone is talking about in the chat (not super computer literate). Any help would be appreciated cheers
Each of the directories represent an R package, and underneath each is a directory called lib, which is where the .so files would be. They are probably there; otherwise the creation times on the folders shown wouldn't have been updated. You can check by expanding the folder for Rcpp.
The directory tree shown is the system version, for all users. There's a separate user specific directory under your home directory: /Users/YOURUSERNAMEHERE/Library/R/4.0/library. If that exists and there is no Rcpp subdirectory, that is evidence that RStudio is looking in the wrong place for packages with which to build tidyverse.
Check if you have a user version and we'll try to figure out how to get R to switch to the system version, instead.
Also, from the terminal, could you post the results of
$ echo $PATH
please?
macOS versions. There is usually no pressing need to keep up with the x.x.x.y changes, say from 10.14.2.1 to .2. It's generally a good idea to keep up with 10.14.2 to 10.14.3. You risk growing difficulties by not going from 10.14 to 10.15.
Ah, anaconda. I love it to death. It's a great package manager for Python, but it's been a frequent source of trouble for R. They need a divorce. So, uninstall R with Anaconda.
Then, go to CRAN and download the macOS version called R-4.0.2.pkg (notarized and signed)