Closed Philmod closed 3 years ago
Can you install and load igraph package successfully? The error message means R can't load igraph package.
Ah sorry about that, yes it seems like igraph
library is corrupted somehow?
> library(igraph)
Error: package or namespace load failed for ‘igraph’ in get(Info[i, 1], envir = env):
lazy-load database '/usr/local/lib/R/site-library/igraph/R/igraph.rdb' is corrupt
In addition: Warning message:
In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1
I was able to fix the problem by restarting R, and reinstalling both packages.
Thanks.
To fix the above issue on Ubuntu 22.04, this was enough:
sudo apt install libglpk-dev
I tried to use your code from https://github.com/dahtah/imager#linux, but I'm getting this error:
sysreqs::(desc = tmp, platform = "linux-x86_64-arch-gcc", soft = FALSE) Error: unexpected '(' in "sysreqs::("
Sorry, instructions were broken. See https://github.com/dahtah/imager/pull/168 (you can view the fixed code here )
I'm getting this error:
I tried to use your code from https://github.com/dahtah/imager#linux, but I'm getting this error:
Here is my system:
R version 4.0.5
Thanks, Philippe