Skip to content

Instantly share code, notes, and snippets.

@b-long
b-long / has_external_connection.sh
Created October 15, 2015 23:47 — forked from jimhester/has_external_connection.sh
Bash function to detect if an R command uses an external connection of anykind. Designed to be used with R CMD check
#!/bin/bash
# Bash function to detect if an R command uses an external connection of
# any kind. Designed to be used with R CMD check
function has_external_connection {
DIR=$(mktemp -d)
# Use a local repository so we don't have to make an external connection for
# `available.packages()`
mkdir -p $DIR/src/contrib
@b-long
b-long / Three-Node-LustreFS-Cluster-Quickstart.md
Last active August 29, 2015 14:27 — forked from joshuar/Three-Node-LustreFS-Cluster-Quickstart.md
Quick three-node Lustre set-up on CentOS 6