Skip to content

Instantly share code, notes, and snippets.

Giles Winstanley gwinstanley

View GitHub Profile
@gwinstanley
gwinstanley / fix-rJava.sh
Last active Jan 15, 2019
Script to configure rJava correctly on macOS
View fix-rJava.sh
#!/usr/bin/env bash
# Script to configure rJava correctly on macOS.
# Check R is available.
RP=$(which R)
if [ $? -ne 0 ]; then
>&2 echo "Unable to find R executable; please ensure it is installed correctly."
exit 1
fi
You can’t perform that action at this time.