I suspect that you are on macOS. CRAN macOS machines do not have the GLPK library, so igraph cannot link to it.
igraph used to have a built-in GLPK library, but that is not allowed any more on CRAN. For now you need to compile the package for yourself I am afraid. This will cause a lot of problems in the future, so I am investigating other solutions, e.g. hosting the package in another repository. G. On Mon, Mar 19, 2018 at 7:41 AM, Harun Pirim <harunpi...@gmail.com> wrote: > Dear All, > > I ran cluster_optimal() function and got the message: > > Warning in install.packages : > package ‘GLPK’ is not available (for R version 3.4.4) > > Any quick fix suggested? > > thank you, > > harun > _______________________________________________ > igraph-help mailing list > igraph-help@nongnu.org > https://lists.nongnu.org/mailman/listinfo/igraph-help _______________________________________________ igraph-help mailing list igraph-help@nongnu.org https://lists.nongnu.org/mailman/listinfo/igraph-help