Help install the Rmpfr package in R. When installed, it gives an error

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/dmitryi/R/x86_64-redhat-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/dmitryi/R/x86_64-redhat-linux-gnu-library/3.3/Rmpfr' Warning in install.packages : installation of package 'Rmpfr' had non-zero exit status The downloaded source packages are in '/tmp/RtmppouTT8/downloaded_packages' 

This is exactly the problem on Fedora24. On Ubuntu 16.04 installed without problems.

    1 answer 1

    Found the answer.

     sudo yum install gmp gmp-devel mpfr mpfr-devel libmpc libmpc-devel