为什么我的RHadoop安装会导致dyn.load出错?
我需要在我的Ubuntu操作系统上安装RHadoop。当我安装rmr2软件包时,我遇到了这个错误为什么我的RHadoop安装会导致dyn.load出错?,r,ubuntu,hadoop,mapreduce,rhadoop,R,Ubuntu,Hadoop,Mapreduce,Rhadoop,我需要在我的Ubuntu操作系统上安装RHadoop。当我安装rmr2软件包时,我遇到了这个错误 library(rmr2) Loading required package: Rcpp Loading required package: RJSONIO Loading required package: digest Loading required package: functional Loading required package: stringr Loading required
library(rmr2)
Loading required package: Rcpp
Loading required package: RJSONIO
Loading required package: digest
Loading required package: functional
Loading required package: stringr
Loading required package: plyr
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/home/mahi/R/x86_64-pc-linux-gnu-library/3.0/rmr2/libs/rmr2.so':
libRcpp.so: cannot open shared object file: No such file or directory
Error: package or namespace load failed for ‘rmr2’
有人知道出了什么问题吗?是否安装了Rcpp?ldd/home/mahi/R/x86_64-pc-linux-gnu-library/3.0/rmr2/libs/rmr2.so的输出是什么?安装软件包时是否有任何错误消息或警告?我安装软件包的方法是将rmr2库文件复制到R目录中。我这样做是因为直接在R中安装rmr2不起作用。此外,我认为安装了Rcpp。它在R的库文件夹中。在dyn.load(文件,DLLpath=DLLpath,…)中重新安装Rcpp错误后,我现在收到了这个错误:无法加载共享对象'/home/mahi/R/x86_64-pc-linux-gnu-library/3.0/rmr2/libs/rmr2.so':/home/mahi/R/x86_64-pc-linux-gnu-library/3.0/rmr2/libs/rmr2.so:未定义的符号:_ZN4Rcpp8internal14r_vector_startili10eepns_6traits12;存储6traits12;typext(ee4;类型预复制共享库通常是个坏主意:它们往往依赖于其他库的特定版本——如果版本不匹配,则最终会出现此类错误消息。最简单的方法是从源代码安装
rmr2
。