2017-02-25 210 views

回答

2

您需要一個Fortran編譯器來編譯某些R包。與安裝:

sudo apt-get install gfortran 
+0

謝謝!它現在有效。 – RBK

5

的總體思路是,以安裝(虛擬)包r-base-dev

Depends: r-base-core (>= 3.2.5-1xenial), build-essential, gcc, g++, 
    gfortran, libblas-dev | libatlas-base-dev, 
    liblapack-dev | libatlas-base-dev, libncurses5-dev, 
    libreadline-dev, libjpeg-dev, libpcre3-dev, libpng-dev, 
    zlib1g-dev, libbz2-dev, liblzma-dev, cdbs 
Suggests: debhelper, texlive-base, texlive-latex-base, 
    texlive-generic-recommended, texlive-fonts-recommended, 
    texlive-fonts-extra, texlive-extra-utils, 
    texlive-latex-recommended, texlive-latex-extra, texinfo 

該組的一些你需要的包構建的東西。如您所見,包括Fortran編譯器。