Rcmdr Installation error, please help asap

Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘data.table’
Calls: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
ERROR: lazy loading failed for package ‘car’

  • removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/car’

The downloaded source packages are in
‘/private/var/folders/hs/282pfhbj6mn_l94mpxdsn0jh0000gn/T/RtmpUTyx4V/downloaded_packages’
Warning message:
In install.packages("Rcmdr") :
installation of package ‘car’ had non-zero exit status

I'm trying to install Rcmdr, but I keep getting this message that "car" is unable to install. I'm currently on Mac 10.12.6 Sierra and on R version 3.6.3. Please help asap

You are missing this package dependency, try installing it first

install.packages("data.table")

Do you get any error message while doing so?

installing to /Library/Frameworks/R.framework/Versions/3.6/Resources/library/00LOCK-data.table/00new/data.table/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘data.table’ in library.dynam(lib, package, package.lib):
shared object ‘datatable.so’ not found
Error: loading failed
Execution halted
ERROR: loading failed

  • removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/data.table’

The downloaded source packages are in
‘/private/var/folders/hs/282pfhbj6mn_l94mpxdsn0jh0000gn/T/RtmpmMQr2H/downloaded_packages’
Warning message:
In install.packages("data.table") :
installation of package ‘data.table’ had non-zero exit status

library(Rcmdr)
Loading required package: splines
Loading required package: RcmdrMisc
Error: package ‘car’ required by ‘RcmdrMisc’ could not be found

I get this message

This is what happened to me

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.