installing packages after update to 3.6 (same problem)

Just as @gtfv installing packages after update to 3.6, I have the same problem after updating R to 3.6.

Error: package or namespace load failed for ‘readr’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rcpp/libs/Rcpp.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rcpp/libs/Rcpp.so, 6): Symbol not found: ___cxa_uncaught_exceptions
Referenced from: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libc++.1.dylib
Expected in: /usr/lib/libc++abi.dylib
in /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libc++.1.dylib

I am working with Mac with OS X El Capitan 10.11.
Thanks!

Do you see this with R launched from the terminal as well, or just in RStudio?

It is the same for both R from the terminal and RStudio.

Can you try running the following from the terminal:

install_name_tool -change \
    /usr/lib/libc++abi.dylib \
    /Library/Frameworks/R.framework/Resources/lib/libc++abi.1.dylib \
    /Library/Frameworks/R.framework/Resources/lib/libc++.1.dylib

and see if that helps?

Thank you very much! That solved the problem!

1 Like