Hi there,
I recently have troubles loading new packages that I have installed. For example: I installed the package haven, but when using the library(haven) command I always get the following message:
library(haven)
Fehler: Laden von Paket oder Namensraum für ‘haven’ in dyn.load(file, DLLpath = DLLpath, ...): fehlgeschlagen
kann shared object '/Library/Frameworks/R.framework/Versions/4.2/Resources/library/vctrs/libs/vctrs.so' nicht laden:
dlopen(/Library/Frameworks/R.framework/Versions/4.2/Resources/library/vctrs/libs/vctrs.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libR.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/4.2/Resources/library/vctrs/libs/vctrs.so
Reason: image not found
Here is what I already tried:
- deinstall and install R and R studio
- install package via this command install.packages("haven", type="binary")
- install package via this command install.packages("haven", repo = 'https://mac.R-project.org')
can somebody please help?