Error when trying to install Rmpfr in R related to the header file mpfr.h

前端 未结 2 1078
暗喜
暗喜 2021-02-18 13:59

I use Ubuntu 14.04 and I have R version 3.1.2. When I am trying to install the Rmpfr package, I get this error

configure: error: Header file mpfr.h          


        
2条回答
  •  没有蜡笔的小新
    2021-02-18 14:56

    You should install libmpfr-dev:

    sudo apt-get install libmpfr-dev
    

    (answer from the first, highly upvoted comment by @user3710546)

提交回复
热议问题