R

This is a custom compile for OpenBSD, as the R port requires gcc 8.x, and I want the latest gcc for other things. It lacks various features, but that's okay as I'm not using much of R.

    #!/bin/sh
    set -e
    arch=`localarchdir` # OpenBSD7.3-amd64 (or so forth)
    export CFLAGS="-I/usr/local/include"
    export LDFLAGS="-L/usr/local/lib"
    FC=egfortran \
    ./configure --prefix=/home/jmates/usr/"$arch"/R-4.2.3 \
    --with-recommended-packages=no \
    --disable-java
    make
    make install

And then you'll need to link R into a PATH directory. Or you could use something like stow to do that for you?

tags #r #openbsd

Proxy Information
Original URL
gemini://thrig.me/tech/openbsd/R.gmi
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
1003.695722 milliseconds
Gemini-to-HTML Time
0.465736 milliseconds

This content has been proxied by September (3851b).