0

I'm quite new to R so I don't understand what this error message is telling me. When I try to load the car package I get this message :

Error: package or namespace load failed for ‘car’ in loadNamespace(j <- i[[1L]], c(lib.loc,.libPaths()), versionCheck = vI[[j]]):there is no package called ‘openxlsx’

I'm working on the R studio cloud on a Chromebook. I believe the version is 3.6.0.

I've also tried this code but with no avail : install.packages("car",dependencies=TRUE)

Drothekid
  • 1
  • 1
  • did you see this? https://stackoverflow.com/questions/35082143/error-package-or-namespace-load-failed-for-car possible duplicate – T.G. Nov 12 '19 at 19:49
  • 1
    While I don't understand why access the `car` package is complaining about `openxlsx`, it seems that something the code is otherwise depending on it. Similar to @T.G.'s suggestion, have you attempted to resolve the actual error message about `openxlsx`? – r2evans Nov 12 '19 at 19:50
  • 1
    This is a bit strange. I tried installing `openxlsx` package last night but it wouldn't install. However, I just tried this morning and it installed. Now the `car` package is working also. Thank you both @T.G. – Drothekid Nov 13 '19 at 16:14

0 Answers0