Home > Software engineering >  not able to install 'fable' package (ERROR: compilation failed for package ‘fable’)
not able to install 'fable' package (ERROR: compilation failed for package ‘fable’)

Time:12-12

I am trying to install fable running the command install.packages("fable"), as it says in enter image description here

It says clearly that it is because i don't have llapack, lblas and lgfortran in my computer. But i am not sure how to procede here. I'm using Ubuntu 20.04.3 LTS

I'll appreciate any guidence.

CodePudding user response:

To install from sources, you will need a GNU Fortran compiler installed. On Ubuntu this can be done with sudo apt install gfortran.

Alternatively, you can install a precompiled binary from the RStudio Package Manager - some guidance on how this can be done can be found here: https://packagemanager.rstudio.com/client/#/repos/1/overview

  • Related