Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install.packages -> buildHDBSCAN.cpp(45): error #20

Closed
jake-stone opened this issue Oct 19, 2017 · 3 comments
Closed

install.packages -> buildHDBSCAN.cpp(45): error #20

jake-stone opened this issue Oct 19, 2017 · 3 comments

Comments

@jake-stone
Copy link

I can install dbscan on my laptop, no problem.
But it is not installing on a linux cluster I use for big data.
I have tried with R 3.3.3 and 3.4.0. I get the same error after invoking

install.packages("dbscan")

Error Message:

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
@mhahsler
Copy link
Owner

Hmmm. Looking at the error message indicates that it is a Rcpp related problem. Do you have the latest version of Rcpp? Also do you have g++ with a minimal version of 4.2.* installed?

@jake-stone
Copy link
Author

It's a research cluster, I've just moved in. Apparently the server I am on is brand new, but it seems that the c compilers are out of date.

I'm in touch with the support staff. Hopefully they can fix this. I am pretty convinced now that this is not dbscan related. It's an environment issue

@jake-stone
Copy link
Author

and thank you for taking a look. Much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants