Rmarkdown 不会编织到 HTML xcrun:mac 上的错误

问题描述

我最近从 PC 切换到 macbook(运行 big sur 11.0.1)并且昨天刚刚安装了 R studios。我在 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,但我想看看是否有人遇到过同样的问题,或者可以确认这会在继续之前解决我的问题。我在没有指导的情况下在我的终端里乱搞真的很紧张......

先谢谢你!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)