Skip to content

Instantly share code, notes, and snippets.

@tmastny
Created August 21, 2018 00:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmastny/4967c70ea9d11ab2a86ca8113dc11af1 to your computer and use it in GitHub Desktop.
Save tmastny/4967c70ea9d11ab2a86ca8113dc11af1 to your computer and use it in GitHub Desktop.
put in bin for nice R executable
#!/bin/bash
RLINK='/Library/Frameworks/R.framework/Resources/bin/R'
if [ -z "$*" ]
then
# /usr/local/bin/R --no-save --no-restore-data --quiet
$RLINK --no-save --no-restore-data --quiet
else
# /usr/local/bin/R "$@"
$RLINK "$@"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment