Installing nloptr on Linux

前端 未结 7 838
醉话见心
醉话见心 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 think I have the same problem as you and I am using CentOS 6.5 Remove nlopt and install nloptr with install.packages() in R, a nlopt will be installed automatically.

    I removed installed nlopt with the following command in the unzipped nlopt folder.

    make uninstall 
    

    If you had tried to use epel repository in CentOS and had installed nlopt with yum, try:

    yum remove nlopt
    

    After removing existed nlopt, I am able to install nloptr with

    install.packages("nloptr")
    

提交回复
热议问题