Unable to install package car

爷,独闯天下 提交于 2019-12-05 17:43:54
Bishwarup Paul

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.

If you are using Anaconda, consider installing the gfortran package via conda. For example, on Mac:

conda install -c anaconda gfortran_osx-64 
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!