When I am trying to install the RcppArmadillo Bioconductor library in R, it is giving me the following error:
/usr/bin/ld: cannot find -lgfortran
collect2: error: ld returned 1 exit status
make: *** [RcppArmadillo.so] Error 1
ERROR: compilation failed for package ‘RcppArmadillo’
* removing ‘/home/nikita/R/x86_64-pc-linux-gnu-library/3.2/RcppArmadillo’
I am using Ubuntu 12.04, R 3.2.5 and g++-5.4. Any help would be greatly appreciated.
stackoverflowbecause bioinformaticians are here – Nov 28 '17 at 02:14gfortranwithsudo apt-get install gfortranbut it is already there, so nothing happened. – Nov 28 '17 at 02:18