Unable to open package dplyr

Error Information:Error: package or namespace load failed for ‘dplyr’ 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

Description of issue - I have succesfully downloaded dplyr package but get an error when trying to use it with library(dplyr)

Steps taken so far -

System Information:

  • RStudio Edition: (Desktop or Server)
  • RStudio Version: 1.1.463
  • OS Version: 10.11.5
  • R Version: 3.6.0


  • RStudio diagnostics report:
  • Your sessionInfo():
  • RStudio crash report:
  • RStudio application log files:

From Troubleshooting Guide: Using RStudio

Assuming you are using linux, running ldconfig before installing dplyr may fix the problem.

Try uninstalling or deleting Rcpp package and installing it again.

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