Hello I recently installed rstudio for a class. During class we were supposed to import a dataset from SPSS. When I click "Import Dataset" I get the error message below. I have restarted Rstudio, and uninstalled and reinstalled Rstudio. It gives me this messaged no matter where I try to import from (SPSS, excel, SAS, and Strata).
"unable to load shared object '/Library/Frameworks/R.framework/Versions/Resources/library/Rcpp/libs.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"
You're on macOS. "Where" did you do install.packages()"? And did you get a message "binary version is available but source version is later" and choose y`?
The following objects are masked from ‘package:base’:
pmax, pmin
Warning messages:
1: package ‘CPP’ was built under R version 4.0.2
2: package ‘ineq’ was built under R version 4.0.2
3: package ‘kappalab’ was built under R version 4.0.2
4: package ‘lpSolve’ was built under R version 4.0.2
5: package ‘quadprog’ was built under R version 4.0.2
6: package ‘kernlab’ was built under R version 4.0.2
7: package ‘mc2d’ was built under R version 4.0.2
8: package ‘mvtnorm’ was built under R version 4.0.2
No I am still getting the same error message. I installed AFNI through my terminal (my mac terminal, not the terminal in Rstudio) and it had me install some packages for R and now I am nervous I did something to mess it up instead. Could that be what is causing the issue?
I did that and that didn't help. But, I uninstalled Rstudio and installed the 4.0.2 version for macOS and that seemed to fix the problem. Maybe I did not have the correct version for my mac. Thank you very much for all of your help!