Skip to content

krlmlr/rigraph-forensics

Repository files navigation

rigraph-forensics

Reconstruct igraph object formats for old versions of igraph.

Running old igraph versions

Version 1.2.4.2 and older (2019-11-27) give the following error on my system:

/opt/homebrew/bin/gfortran -fno-optimize-sibling-calls  -fPIC  -Wall -g -O2  -c dgetv0.f -o dgetv0.o
dgetv0.f:404:38:

  367 |           call igraphdvout (logfil, 1, rnorm0, ndigit,
      |                                       2
......
  404 |          call igraphdvout (logfil, n, resid, ndigit,
      |                                      1

Trying to install older igraph versions in an Ubuntu 18.04 Docker container. Build with:

docker build --platform linux/amd64 -t rigraph-forensics bionic

Or get from GHCR with:

docker pull --platform linux/amd64 ghcr.io/krlmlr/rigraph-forensics

Run container with:

docker run --rm -ti --platform linux/amd64 -v $(pwd):/rigraph-forensics rigraph-forensics

In the container, via functions defined in the image's ~/.Rprofile:

# Run in same R process:
R -q -e 'run_igraph("1.4.3", make_ring(3, directed = TRUE))'

# Start a new R process:
R -q -e 'call_igraph("1.4.3", make_ring(3, directed = TRUE))'

About

Running old igraph versions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages