Error : Could not find build tools necessary to build

后端 未结 1 1839
鱼传尺愫
鱼传尺愫 2020-12-11 19:17

I installed Xcode on my Mac, running on the El Capitan version 10.11. I need to get files from a github repository to my workspace in R, so I run the line:

d         


        
相关标签:
1条回答
  • 2020-12-11 19:44

    I had the same problem when installing the forecast package from GitHub on my Mac running El Capitan. The suggested readline fix above did not work for me. I noticed that my shell wasn't seeing R (e.g. when I typed R at a shell prompt it said command not found). I also was operating as a non-admin user of my computer and I think had installed R as a non-admin user. So I downloaded R again (same version) and installed it as an admin user. (This was based on a hunch after reading about some of the finnicky issues with R and paths in El Cap) After reinstalling R as an admin user I could then open R in a terminal, and at that point devtools::install_github("robjhyndman/forecast") worked fine.

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