> On 26 May 2018, at 14:19, Berend Hasselman <b...@xs4all.nl> wrote: > > >> On 26 May 2018, at 13:36, Roger Koenker <rkoen...@illinois.edu> wrote: >> >> I’ve just installed R3.5 and clang6 and fortran 6.1 and now realize that the >> compiler packages install in >> /usr/local/clang6 and /usr/local/gfortran respectively. I expected that >> there would also be some automatic >> symbolic links to /usr/local/bin etc. however when I tried to compile >> packages from source the old versions >> of the compilers are invoked. I realize that this is probably quite >> elementary, but I would appreciate some >> advice on how to complete the installation so the new compilers are accessed. >> > > I added these two lines to my ~/.profile > > # clang6 for R 3.5.0 > export PATH=/usr/local/clang6/bin:$PATH > > and that seems to do the job. >
Might not do the job. But I also added this to my ~/.R/Makevars # for R 3.5.0 # https://cran.r-project.org/bin/macosx/tools/ CC=/usr/local/clang6/bin/clang CXX=/usr/local/clang6/bin/clang++ LDFLAGS =-L/usr/local/clang6/lib and that really does it. Berend > Berend > >> Many thanks, >> Roger >> >> _______________________________________________ >> R-SIG-Mac mailing list >> R-SIG-Mac@r-project.org >> https://stat.ethz.ch/mailman/listinfo/r-sig-mac > > _______________________________________________ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac