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
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.