Cannot open any libraries

Hello,

I have trouble to open libraries. I show an example (tidyverse).
I cannot open any libraries along with tidyverse.
I tried to renew the rstudio, but it did not work.
When I used rstudio two weeks ago, I had no problems like this.
If you have a kind suggestion, please help me.
Thank you for your cooperation in advance.

Shoichi

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
In addition: Warning message:
package ‘tidyverse’ was built under R version 4.0.2

This post suggests updating from R 4.0 to R 4.0.2 - https://discourse.mc-stan.org/t/after-installing-brms-rstan-or-brms-will-not-load/16798/4

Are you able to do that?

I downloaded R 4.0.2 (for MAC) from
https://cran.r-project.org/bin/macosx/
and installed.
It works properly now.
Thank you, mrmallironmaker!

I thought R 4.0. was also updated to R 4.0.2 because Rstudio has been already updated to the latest version. I understand the version of R is different from the version of Rstudio. Updating Rstudio does not mean the updating R's version.
Thank you again.

Shoichi

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