user1436187 user1436187 - 1 year ago 64
C++ Question

Compile R package with clang in ubuntu

Currently I am using ubuntu.

By default R uses g++ to compile c/c++ code in a R package.

How can I force R to use clang++/clang?

Answer Source

"i) clang -- and I do from time to time test with clang which works just fine "as is", ie on my Linux box I simply say this in ~/.R/Makevars


Thanks Dirk!

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download