When i try to install the edgeR package i receive the error :
ld: warning: directory not found for option '-L/usr/local/lib/gcc/i686-apple-darwin8/4.2.3/x86_64'
ld: warning: directory not found for option '-L/usr/local/lib/x86_64'
ld: warning: directory not found for option '-L/usr/local/lib/gcc/i686-apple-darwin8/4.2.3'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [edgeR.so] Error 1
ERROR: compilation failed for package ‘edgeR’
* removing ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library/edgeR’
The downloaded source packages are in
In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘edgeR’ had non-zero exit status
Can anyone give me directions on how to solve this problem?