我想在Ubuntu机器上安装Rmpfr.但我不断收到以下错误.
configure: error: Header file mpfr.h not found; maybe use --with-mpfr-include=INCLUDE_PATH
ERROR: configuration failed for package ‘Rmpfr’
Run Code Online (Sandbox Code Playgroud)
有人可以帮帮我吗?谢谢.
你需要mpfr.h得到的
sudo apt-get install libmpfr-dev
Run Code Online (Sandbox Code Playgroud)
这个配方是通用的:您需要(Linux)-dev包来编译(Linux)库,这是(R)包在这里所做的.