I have just updated my R-Studio to version 3.3.3. to 3.4.3 in OSX I am trying to open an excel file using package xlsx, and have also re-installed rjava, but on executing the library(rJava) it gives me the following error:
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.4/Resources/library/rJava/libs/rJava.so': dlopen(/Library/Frameworks/R.framework/Versions/3.4/Resources/library/rJava/libs/rJava.so, 6): Library not loaded: @rpath/libjvm.dylib Referenced from: /Library/Frameworks/R.framework/Versions/3.4/Resources/library/rJava/libs/rJava.so Reason: image not found
I have tried few fixes described here (rJava load error in RStudio/R after "upgrading" to OSX Yosemite) but it doesn't work for me. How can I resolve this issue?