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.
Your Java installation cannot be located. Make sure you have a JVM installed and then reconfigure R by issuing 'sudo R CMD javareconf'.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.