Why is my View() function not working?

Hi out there,

I recently moved to Visual Studio Code when using R, but now i can't get the View()-function to work...

At first i imported my data frame:

balloon<-read.table(file="~/Desktop/balloon.txt", header=TRUE)

But when i run the View(balloon) it says:

"xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

Error in View(balloon): X11 dataentry cannot be loaded"

I have tried to install both dyplr and utils, but this doesnt solve anything...

Please let me know if you need more information.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.