Ubuntu 14.04 R上安装rJava包出错问题的解决: error: unable to load shared object (rJava.so)

  • Post author:
  • Post category:java



启动R后,在交互终端中执行 install.packages(“rJava”),下载rJava包编译一会儿,报类似下面错误:




Error : .onLoad failed in loadNamespace() for ‘rJava’, details:


call: dyn.load(file, DLLpath = DLLpath, …)


error: unable to load shared object

‘/home/hadoop/R/x86_64-pc-linux-gnu-library/3.0/rJava/libs/

rJava.so

‘:


libjvm.so

:

cannot open shared object file:

No such file or directory

Error: loading failed

Execution halted

ERROR: loading failed

* removing ‘/home/hadoop/R/x86_64-pc-linux-gnu-library/3.0/rJava’

* restoring previous ‘/home/hadoop/R/x86_64-pc-linux-gnu-library/3.0/rJava’



版权声明:本文为wqhlmark64原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。