Can't run R Commander on Mac

Can somebody help me? When i try to run library(Rcmdr), it can't proceed to the next step and there's some error

Loading required package: RcmdrMisc
Loading required package: car
Error: package or namespace load failed for ‘car’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘vctrs’
Error: package ‘car’ could not be loaded



and try again

thank you for replying, here's the result after i type yes.


There is a binary version available but the source version is later:
binary source needs_compilation
vctrs 0.3.0 0.3.1 TRUE

Do you want to install from sources the package which needs compilation? (Yes/no/cancel) yes
installing the source package ‘vctrs’

trying URL ''
Content type 'application/x-gzip' length 946964 bytes (924 KB)

downloaded 924 KB

  • installing source package ‘vctrs’ ...
    ** package ‘vctrs’ successfully unpacked and MD5 sums checked
    ** using staged installation
    ** libs
    xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
    ERROR: compilation failed for package ‘vctrs’
  • removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/vctrs’

The downloaded source packages are in
Warning message:
In install.packages("vctrs") :
installation of package ‘vctrs’ had non-zero exit status

what should i do next?

I've solved this problem. Thank you very much for your help.

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