【发布时间】:2021-01-10 03:05:14
【问题描述】:
我最近从 pc 切换到 macbook(运行 big sur 11.0.1),昨天刚刚安装了 R studio。我在 R 中工作,当我尝试编织到 HTML 时出现此错误:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Quitting from lines 15-18 (thesis_analyses.Rmd)
Error in View(sp) : X11 dataentry cannot be loaded
Calls: <Anonymous> ... withCallingHandlers -> withVisible -> eval -> eval -> View
Execution halted
以前有人遇到过这个问题吗?
我能找到的最接近的解决方案是here,但我想看看是否有人遇到过同样的问题,或者可以在继续之前确认这会解决我的问题。在没有指导的情况下在终端里乱搞我真的很紧张......
提前谢谢你!
【问题讨论】:
-
我假设您没有尝试该问题的解决方案?在那里安装命令行工具
-
我没有。我现在将尝试添加命令行工具。
标签: r macos r-markdown xcrun