更新新的MacO之后,系统会添加一个新的首选外壳zsh。如果您遇到外壳问题,例如提醒您在终端开头切换Bush或zsh,请参考https://www.theverge.com/2019/6/4/18651872/apple-macos-catalina-zsh-bash-shell-replacement-features
对于我在更新系统后解决的rJava错误,很多人都有同样的问题,例如
Error: package or namespace load failed for ‘rJava’:
.onLoad failed in loadNamespace() for 'rJava', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.6/Resources/library/rJava/libs/rJava.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.6/Resources/library/rJava/libs/rJava.so, 6): Library not loaded: /Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/lib/server/libjvm.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rJava/libs/rJava.so
Reason: image not found
此主题已经在(https://github.com/rstudio/rstudio/issues/2254)进行了讨论,而解决此问题的基本方法是在(https://zhiyzuo.github.io/installation-rJava/)