incapaz de lançar R ou reinstalar R devido a falta de libblas.so.3gf

-1

Eu corri o seguinte comando:

sudo apt-get install r-base

e eu recebi:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:

execute

sudo -i R

mas mostra:

/usr/lib/R/bin/exec/R: error while loading shared libraries: 
 libblas.so.3gf: cannot open shared object file: No such file or directory
    
por Damien 24.04.2017 / 11:46

2 respostas

0

Antes das etapas sudo apt-get purgar base-r

Se você está em 14.04:

sudo sh -c 'echo "deb http://cran.rstudio.com/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list'

gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9

gpg -a --export E084DAB9 | sudo apt-key add -

sudo apt-get update

sudo apt-get -y install r-base

Se você estiver em 16.04

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9

sudo add-apt-repository 'deb [arch=amd64,i386] https://cran.rstudio.com/bin/linux/ubuntu xenial/'

sudo apt-get update

sudo apt-get install r-base
    
por Vasilis.xyz 24.04.2017 / 11:55
0

libblas.so.3gf é fornecido pelo pacote revolution-mkl (bibliotecas numéricas de alto desempenho da REvolution Computing para R), então instale-o. Execute os seguintes comandos e comente se eles fornecerem alguma mensagem de erro.

sudo apt update  
sudo apt upgrade  
sudo apt install r-base-core r-revolution-core revolution-mkl
    
por karel 24.04.2017 / 11:55