When I am trying to install RcppArmadillo
BiocLite
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.