简体   繁体   English

在Ubuntu上安装XLConnect软件包时出错

[英]Error Installing the XLConnect Package on Ubuntu

I followed the steps here to install rjava on ubuntu. 我按照此处的步骤在ubuntu上安装rjava Everything worked as expected. 一切都按预期进行。 Then I went ahead to install the XLConnect package without any error. 然后,我继续安装XLConnect软件包,没有任何错误。 But when I try loading the XLConnect package. 但是,当我尝试加载XLConnect软件包时。 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 加载所需的程序包:XLConnectJars错误:'XLConnectJars'的程序包或名称空间加载失败:'rJava'的loadNamespace()中的.onLoad失败,详细信息:调用:dyn.load(file,DLLpath = DLLpath,...)错误:无法加载共享库'/home/sdotserver1/R/x86_64-pc-linux-gnu-library/3.4/rJava/libs/rJava.so':libjvm.so: 无法打开共享库文件:无此类文件或目录错误:包' XLConnectJars'无法加载

Appreciate any help. 感谢任何帮助。

Your Java installation cannot be located. 找不到Java安装。 Make sure you have a JVM installed and then reconfigure R by issuing 'sudo R CMD javareconf'. 确保已安装JVM,然后通过发出'sudo R CMD javareconf'重新配置R。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM