[R-SIG-Mac] Tools Update for R3.5?
Berend Hasselman
bhh @ending from x@4@ll@nl
Sat May 26 14:26:05 CEST 2018
> On 26 May 2018, at 14:19, Berend Hasselman <bhh using xs4all.nl> wrote:
>
>
>> On 26 May 2018, at 13:36, Roger Koenker <rkoenker using 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 using r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
More information about the R-SIG-Mac
mailing list