错误信息:
configure: error: GNU MP not found, or not 4.1.4 or up, see http://gmplib.org
ERROR: configuration failed for package ‘gmp’
* removing ‘/home/chenyansu/R/x86_64-pc-linux-gnu-library/3.3/gmp’
Warning in install.packages :
installation of package ‘gmp’ had non-zero exit status
ERROR: dependency ‘gmp’ is not available for package ‘Rmpfr’
* removing ‘/home/chenyansu/R/x86_64-pc-linux-gnu-library/3.3/Rmpfr’
Warning in install.packages :
installation of package ‘Rmpfr’ had non-zero exit status
ERROR: dependency ‘Rmpfr’ is not available for package ‘HH’
* removing ‘/home/chenyansu/R/x86_64-pc-linux-gnu-library/3.3/HH’
Warning in install.packages :
installation of package ‘HH’ had non-zero exit status?
原因:
没有安装gmp和mpfr包,R的gmp和rmpfr缺乏依赖
解决方案:
安装gmp:sudo apt-get install libgmp-dev
安装mpfr:sudo apt-get install libmpfr-dev
安装完毕即可回到R中安装HH
原文:http://www.cnblogs.com/chenyansu/p/6697114.html