I recently switched from a pc to a macbook (running big sur 11.0.1) and just installed R studios yesterday. I'm working in R and I get this error when I try to knit to an 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
Has anyone had this issue before?
The closest solution I could find was here, but I wanted to see if anyone had encountered the same issue or could confirm this would fix my problem before proceeding. I get real nervous messing around in my terminal without guidance...
Thank you in advance!