Reputation: 39
I followed the steps here to install rjava
on ubuntu. Everything worked as expected. Then I went ahead to install the XLConnect
package without any error. But when I try loading the XLConnect package.
I got this error:
Loading required package: XLConnectJars Error: package or namespace load failed for ‘XLConnectJars’: .onLoad failed in loadNamespace() for ‘rJava’, details: call: dyn.load(file, DLLpath = DLLpath, …) error: unable to load shared object ‘/home/sdotserver1/R/x86_64-pc-linux-gnu-library/3.4/rJava/libs/rJava.so’: libjvm.so: cannot open shared object file: No such file or directory Error: package ‘XLConnectJars’ could not be loaded
Appreciate any help.
Upvotes: 0
Views: 390
Reputation: 2321
Your Java installation cannot be located. Make sure you have a JVM installed and then reconfigure R by issuing 'sudo R CMD javareconf'.
Upvotes: 0