HI,
I would like to install SNPRelate package but it dependent package 'mgcv' need to be update. it shows following error. i tried deleting library and reinstalling. But nothing works. Even i update R latest version (R version 3.2.3 (2015-12-10)).
####
/usr/bin/ld: cannot find -lgfortran
collect2: error: ld returned 1 exit status
make: *** [mgcv.so] Error 1
ERROR: compilation failed for package ‘mgcv’
* removing ‘/usr/lib/R/library/mgcv’
* restoring previous ‘/usr/lib/R/library/mgcv’
The downloaded source packages are in
‘/tmp/RtmpQvLZ1S/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning messages:
1: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘mgcv’ had non-zero exit status
2: In install.packages(update[instlib == l, "Package"], l, contriburl = contriburl, :
installation of package ‘mgcv’ had non-zero exit status
######
my sessioninfo is
######
> sessionInfo()
R version 3.2.3 (2015-12-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu precise (12.04.5 LTS)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] BiocInstaller_1.20.1
loaded via a namespace (and not attached):
[1] tools_3.2.3
#####
I have newest version of gfortran for Ubuntu 12.04.