libraries: Installing external libraries

Description Details


spaMM is conceived to minimize installation issues but it nevertheless suggests using some external libraries. These are all accessed through R packages so their installation should be easy when installing binary packages. The Details below give hints for installing packages from source. For all cases not considered below, help yourself. Windows users should have a look at the package manager in the Rtools40 bash shell.


The ROI.plugin.glpk package requires the Rglpk package, which itself requires the external glpk library. For the latter, Debian-ists and alikes should sudo apt-get install libglpk-dev. MacOSX users should brew install glpk if using brew; Windows users should try using
pacman -S mingw-w64-x86_64-glpk in the Rtools40 bash shell, together with
Sys.setenv(GLPK_HOME = "$(MINGW_PREFIX)") in the R session (but I have not fully tested this; previously I had to install glpk from

The nloptr package requires the external NLopt library. Windows users should try using
pacman -S mingw-w64-x86_64-nlopt in the Rtools40 bash shell (but again I have not fully tested this; see also the README of nloptr).

spaMM documentation built on June 2, 2021, 9:06 a.m.

Related to libraries in spaMM...