Unable to install package car

I finally found the solution. After looking at the error message for installing "minqa", I realized that the installer was unable to find gfortran. So I installed gfortran,then tried to install "car" again. This time I got another error message saying that -llapack -lblas were not found. Therefore, according to this link: /usr/bin/ld: cannot find -llapack I installed packages "liblapack-dev", "liblapack3", "libopenblas-base" and "libopenblas-dev". After that, the "car" package was successfully installed.


Install r-cran-car

Installing r-cran-car package on Ubuntu 16.04 (Xenial Xerus) is as easy as running the following command on terminal:

sudo apt-get update

sudo apt-get install r-cran-car


I had the same issue. In my case it was enough to install gcc-fortran on my machine.