Created
April 27, 2017 18:40
-
-
Save iangow/1b93feb047722d52e20e42051a437d51 to your computer and use it in GitHub Desktop.
Script to install PL/R from GitHub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
cd ~/git | |
git clone [email protected]:postgres-plr/plr.git | |
cd plr | |
R_HOME="/Library/Frameworks/R.framework/Resources" USE_PGXS=1 PG_CONFIG="/opt/local/lib/postgresql96/bin/pg_config" make | |
sudo R_HOME="/Library/Frameworks/R.framework/Resources" USE_PGXS=1 PG_CONFIG="/opt/local/lib/postgresql96/bin/pg_config" make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment