To whom it may concern,
I failed to compile igraph. Below is the info:
In file included from core/community/optimal_modularity.c:32:0:
core/internal/glpk_support.h:36:18: fatal error: glpk.h: No such file or directory
#include <glpk.h>
^
compilation terminated.
make: *** [C:/PROGRA~1/R/R-36~1.0/etc/i386/Makeconf:208: core/community/optimal_modularity.o] Error 1
ERROR: compilation failed for package ‘igraph’
-
removing ‘C:/Users/huyang/Documents/R/win-library/3.6/igraph’
-
restoring previous ‘C:/Users/huyang/Documents/R/win-library/3.6/igraph’
Warning in install.packages :
installation of package ‘igraph’ had non-zero exit statusThe session info is also attached:
R version 3.6.0 (2019-04-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Simplified)_China.936 LC_CTYPE=Chinese (Simplified)_China.936
[3] LC_MONETARY=Chinese (Simplified)_China.936 LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_China.936
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.6.0 Matrix_1.2-17 cli_3.2.0 tools_3.6.0 yaml_2.2.1
[6] grid_3.6.0 lattice_0.20-38
Thanks for your help. Looking forward to your reply!
Best,
Yang