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 ranger on server #63

Closed
PhilippPro opened this issue May 23, 2016 · 8 comments
Closed

Install ranger on server #63

PhilippPro opened this issue May 23, 2016 · 8 comments

Comments

@PhilippPro
Copy link

PhilippPro commented May 23, 2016

Hi,

I want to install ranger on a server, but I get following error:

I/home/hpc/ua341/di49ruw/R/lib64/R/include -DNDEBUG -DR_BUILD -I/usr/local/include -I"/home/hpc/ua341/di49ruw/R/lib64/R/library/Rcpp/include"      -c AAA_check_cpp11.cpp -o AAA_check_cpp11.o
/bin/sh: I/home/hpc/ua341/di49ruw/R/lib64/R/include: Datei oder Verzeichnis nicht gefunden

And many more times the error, that it does not exist. In fact only R/include exists and not R/lib64.
Can I solve this error somehow?

@mnwright
Copy link
Member

Strange. Is this only the case for ranger? What about other Rcpp packages, such as dplyr?

@rmflight
Copy link

If it is a server running something like CentOS, it could be interesting getting stuff compiled properly that uses Rcpp. I haven't debugged all our issues, but I know one needs a very particular setup to properly compile Rcpp stuff on CentOS.

@PhilippPro
Copy link
Author

PhilippPro commented May 25, 2016

Installing dplyr via devtools::install_github(cran/dplyr) is not a problem. I use devtools::install_github(cran/ranger) and this normally works.
I do not exactly know on what the server is running.

@mnwright
Copy link
Member

Which version of gcc is running on the server?

By the way, why do you install CRAN packages using devtools::install_github?

@PhilippPro
Copy link
Author

gcc 4.9.3

Normal installation does not work because of some reason. (I am a very recent user of the server structure) But that is not the reason.

@mnwright
Copy link
Member

Is this solved on your side?

@PhilippPro
Copy link
Author

Yes. It was solved by setting

CXX_STD = g++
CXX=g++
PKG_CPPFLAGS= -std=c++11 -DRBUILD

in the ranger/src/Makevars file. But I think Bernd has written you more about this.

@mnwright
Copy link
Member

Great. He said they solved it locally without modifying the ranger Makevars (CXX shouldn't be set in a package).

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

3 participants