Abernethy / abrem

1 stars 3 forks source link

[ Suggestion ] Mac OS X installation guide #2

Open CarlesCG opened 9 years ago

CarlesCG commented 9 years ago

For those on Mac OS X that want to get the package abrem install (at least from GitHub) the library -lgfortran is necessary. Here my work around:

# In order to get lgfortran for Mac OS. Execute at the terminal 
curl -O http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2
sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C /

And then with the package devtools install directly from GitHub:

library(devtools)
install_github( "Abernethy/abremPivotals@dev-public")
install_github( "Abernethy/abremDebias")
install_url("http://download.r-forge.r-project.org/src/contrib/debias_0.1.9.tar.gz")
install_github( "Abernethy/abrem@dev-public")

library(abrem)