I am trying to install Rmpfr in a Ubuntu machine. But I kept getting the following error.
configure: error: Header file mpfr.h not found; maybe use --with-mpfr-include=INCLUDE_PATH
ERROR: configuration failed for package ‘Rmpfr’
Could anyone help me with this, please? Thank you.
You need mpfr.h
which you get from
sudo apt-get install libmpfr-dev
This recipe is generic: you need the (Linux) -dev
package for compilation against a (Linux) library which is what the (R) package does here.
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