Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/Library/Frameworks/R.framework/Versions/3.2/Resources/library/stringi/libs/stringi.so': dlopen(/Library/Frameworks/R.framework/Versions/3.2/Resources/library/stringi/libs/stringi.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/3.1/Resources/lib/libR.dylib Referenced from: /Library/Frameworks/R.framework/Versions/3.2/Resources/library/stringi/libs/stringi.so Reason: image not found Error: package or namespace load failed for 'ggplot2'