R:编译dbscan时出错

时间:2017-10-18 05:36:22

标签: c++ r rcpp

我可以在笔记本电脑上安装dbscan,没问题。 但它不是安装在我用于大数据的Linux集群上。 我试过R 3.3.3和3.4.0。调用

后,我得到同样的错误
install.packages("dbscan")

错误讯息:

buildHDBSCAN.cpp(45): error: more than one operator "==" matches these operands:
        built-in operator "pointer == pointer"
        function "Rcpp::operator==(Rcpp::Na_Proxy, SEXP)"
        operand types are: Rcpp::internal::generic_name_proxy<19> == SEXP
if (!hcl.containsElementNamed("labels") || hcl["labels"] == R_NilValue){
                                                         ^

compilation aborted for buildHDBSCAN.cpp (code 2)
make: *** 


[/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2 /Compiler/intel2016.4/r/3.3.3/lib64/R/etc/Makeconf:141: buildHDBSCAN.o] Error 2
ERROR: compilation failed for package ‘dbscan’
 removing ‘/home/xxxxxx/R/x86_64-pc-linux-gnu-library/3.3/dbscan’

The downloaded source packages are in
    ‘/tmp/RtmpI1SJp8/downloaded_packages’
Warning message:
In install.packages("dbscan") :
  installation of package ‘dbscan’ had non-zero exit status

0 个答案:

没有答案