R, car cannot load

I am new to R and am having problems loading my car library. I use Windows 8.1 (64 bit) and I work in a 32-bit R environment. I just downloaded the library, but when I try to load the car library(car) using library(car) , I get the message:

Error in loadNamespace (j <- I [[1L]], c (lib.loc, .libPaths ()), versionCheck = vI [[j]]):
no package called 'quantreg
Error: loading package or namespace for "car

This message appeared requesting several other libraries besides quantreg . I downloaded some of these other libraries in the hope that it will be enough to start the machine, but it does not stop asking for more libraries.

Has anyone had the same problem? It also happened to some people that I know using different operating systems, mainly Windows, but also Linux.

+4
source share
1 answer

It seems that you did not install dependencies automatically when installing car . I assume that you tried installing with Rstudio, which does not automatically install dependencies.

This is a SO post and this should help you install them automatically.

Try reinstalling the install.packages("car",dependencies=TRUE) command install.packages("car",dependencies=TRUE) .

In addition, in the future you can check the CRAN page to see dependencies, imports, offers, etc.

+1
source

All Articles