Joshua Sierles / Feb 14 2018
with Dieter Komendera
Guix for R again
Guix for R again
curl ftp://alpha.gnu.org/gnu/guix/guix-binary-0.14.0.x86_64-linux.tar.xz -o /results/guix-binary-0.14.0.x86_64-linux.tar.xz
guix-binary-0.14.0.x86_64-linux.tar.xz
Download
cd /tmp tar --warning=no-timestamp -xfrough-waterfall.guix-binary-0.14.0.x86_64-linux.tar.xzrm -rf /var/guix /gnu mv var/guix /var/ && mv gnu /
curl https://gist.githubusercontent.com/jsierles/633ef7050c929ac45957544c1adc44fd/raw/8f97fab26c0680afe35acda896a547dadc4cbb12/r.scm -o /results/r.scm
r.scm
Download
mkdir -p /modules/nextjournal/packages cpjolly-wildflower.r.scm/modules/nextjournal/packages/r.scm
set +o nounset ls /var/guix source /var/guix/profiles/per-user/root/guix-profile/etc/profile if ! id -u guixbuilder0; then groupadd --system guixbuild useradd -g guixbuild -G guixbuild \ -d /var/empty -s `which nologin` \ -c "Guix build user" --system \ guixbuilder0; fi guix archive --authorize < /var/guix/profiles/per-user/root/guix-profile/share/guix/hydra.gnu.org.pub guix-daemon --build-users-group guixbuild --disable-chroot & GUIX_PACKAGE_PATH=/modules guix package -i r r-feather r-jsonlite r-magrittr r-plotly r-base64enc
ln -nfs /var/guix/profiles/default/guix-profile/etc/profile /.profile cat /.profile
YOLO DOGE
which R
a = 5