Cannot install stringi since Xcode Command Line Tools update

后端 未结 1 1722
囚心锁ツ
囚心锁ツ 2020-12-11 08:23
  • System: macOS Sierra 10.12.6
  • Xcode: 9.2 (2347)
  • R: 3.4.0
  • RStudio: 1.1.383
相关标签:
1条回答
  • 2020-12-11 08:56

    Issue resolved by removing ~/.R/Makevars.

    Exact steps taken:

    1. Close all instances of RStudio
    2. Run in Terminal: mv ~/.R/Makevars ~/.R/old_Makevars (note that the file has been renamed rather than deleted in case it may need to be restored)
    3. Re-open RStudio.
    4. Install stringi normally with install.packages("stringi")

    This question might be useful to discover the contents/purpose of ~/.R/Makevars.

    0 讨论(0)
提交回复
热议问题