C compilation flags from R

前端 未结 3 579
别跟我提以往
别跟我提以往 2021-01-05 02:54

Can you set R\'s C and C++ flags at compilation time when installing from R CMD INSTALL (essentially, in this particular case I want to turn off compiler optimi

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-05 03:03

    Yes, I use a file ~/.R/Makevars for that. Also handy to set CC and CXX to different compilers when, say, switching gcc versions, or switching to llvm, or ...

提交回复
热议问题