Installing nloptr on Linux

前端 未结 7 770
醉话见心
醉话见心 2021-02-01 03:52

I am trying to install the R package nloptr on a CentOS Linux machine that doesn\'t have internet connection as follows:

install.packages(\"/hom         


        
7条回答
  •  心在旅途
    2021-02-01 04:12

    I had a similar problem on Ubuntu. In addition to installing nlopt-dev as Dirk answered, I also had to install pkg-config:

    sudo apt-get install pkg-config
    

    Hope this helps.

提交回复
热议问题