In R, using Ubuntu, try to install a lib depending on GMP C lib, it won't find GMP, but I have GMP installed

后端 未结 2 1748
暗喜
暗喜 2021-01-07 16:36

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 ins

相关标签:
2条回答
  • 2021-01-07 17:20

    It worked after I installed build-essential and libboost. Yes, I had something lacking on my system. :-)

    0 讨论(0)
  • 2021-01-07 17:21

    In my case it was solved by installation of libgmp3-dev

    $ sudo apt-get update
    $ sudo apt-get install libgmp3-dev
    
    0 讨论(0)
提交回复
热议问题