I want to install the Rmpfr library of R, so I type within R:
install.packages("Rmpfr")
This package requires the GMP C library to be installed, which in Ubuntu can be installed typing on the terminal
sudo apt-get install libgmp-dev
So, after I try to install Rmpfr library in R, I receive an error message containing
configure: error: GNU MP not found, or not 4.1.4 or up, see http://gmplib.org
The problem is, I already have GNU MP installed, and its version is 5.1.2. So, something is wrong with me, maybe.
Any clues? :-) Thanks!
In my case it was solved by installation of libgmp3-dev
$ sudo apt-get update $ sudo apt-get install libgmp3-dev
It worked after I installed build-essential
and libboost
. Yes, I had something lacking on my system. :-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With