我在安装rmr2时遇到了问题。
我按照这些说明操作:https://github.com/RevolutionAnalytics/RHadoop/wiki/user%3Ermr%3EHome
其中rmr2的安装是第4步。
我已经安装了套餐:
install.packages(c("rJava", "Rcpp", "RJSONIO", "bitops", "digest",
"functional", "stringr", "plyr", "reshape2", "dplyr",
"R.methodsS3", "caTools", "Hmisc"))
并设置环境。变量:
Sys.setenv("HADOOP_CMD"="/Users/virasemenova/Hadoop/bin/hadoop")
Sys.setenv("HADOOP_STREAMING"="/Users/virasemenova/Hadoop/share/hadoop/tools/lib/hadoop-streaming-2.6.0.jar")
我现在正在终端跑步:
R CMD INSTALL /Users/virasemenova/Desktop/rmr2
and
R CMD INSTALL /Users/virasemenova/Downloads/rmr-3.3.0.tar
他们每个人都回来了:
/Library/Frameworks/R.framework/Versions/3.1/Resources/library