I'm using a Mac and my OS is 10.11.2. I always have a problem downloading packages that are vital to my work so I decided to update my Rstudio to 3.6.3 from 3.3.
Everytime I open packages (which are not a problem for me before), it shows this exact same error. As someone who has no background in coding, can someone please help me?
library(tidyr)
Error: package or namespace load failed for ‘tidyr’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/3.6/Resources/library/dplyr/libs/dplyr.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.6/Resources/library/dplyr/libs/dplyr.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
library(e1071)
Error: package or namespace load failed for ‘e1071’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/3.6/Resources/library/e1071/libs/e1071.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.6/Resources/library/e1071/libs/e1071.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