Error in Rcmdr Installation

library(Rcmdr)
Loading required package: splines
Loading required package: RcmdrMisc
Loading required package: car
Loading required package: carData
Loading required package: sandwich
Error: package or namespace load failed for ‘RcmdrMisc’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/png/libs/png.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/png/libs/png.so, 6): Symbol not found: _inflateValidate
Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/png/libs/png.so (which was built for Mac OS X 10.13)
Expected in: /usr/lib/libz.1.dylib
in /Library/Frameworks/R.framework/Versions/4.0/Resources/library/png/libs/png.so
Error: package ‘RcmdrMisc’ could not be loaded

I'm in the process of installing Rcmdr, but I keep getting this message every time I try to type in library(Rcmdr). Please help, thank you

1 Like

I need help with this same error

I have the exact same problem. Tried to run it on macOS Sierra (10.12.6) and got the error below.

Lade nötiges Paket: splines
Lade nötiges Paket: RcmdrMisc
Lade nötiges Paket: car
Lade nötiges Paket: carData
Lade nötiges Paket: sandwich
Error: package or namespace load failed for ‘RcmdrMisc’ in dyn.load(file, DLLpath = DLLpath, ...):
kann shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/png/libs/png.so' nicht laden:
dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/png/libs/png.so, 6): Symbol not found: _inflateValidate
Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/png/libs/png.so (which was built for Mac OS X 10.13)
Expected in: /usr/lib/libz.1.dylib
in /Library/Frameworks/R.framework/Versions/4.0/Resources/library/png/libs/png.so
Fehler: Paket ‘RcmdrMisc’ konnte nicht geladen werden

Tried for several hours and read various comments and blogs but didn't succeed. Can anyone help? Did you got reply @kenny4411?

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.