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).
Sys.getenv("PATH")
Sys.which("stats.dll")
.libPaths()
[1] "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Applications/RStudio.app/Contents/MacOS/postback:/Users/rastkostojsin/Library/TinyTeX/bin/x86_64-darwin"
stats.dll
""
[1] "/Library/Frameworks/R.framework/Versions/4.0/Resources/library"
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