Building R Packages using Alternate GCC

后端 未结 4 1819
半阙折子戏
半阙折子戏 2020-12-01 02:57

The systems I work with have GCC 4.5 (experimental) in /usr/local/bin/gcc which has proven to be problematic for some R packages. I would like to instead use system GCC in /

4条回答
  •  旧巷少年郎
    2020-12-01 03:33

    Check your path to see if /usr/local/bin comes before /usr/bin. If it does, just make sure /usr/bin comes first:

    PATH=/usr/bin:${PATH}
    

    (it's okay if /usr/bin is duplicated appears twice).

提交回复
热议问题