Created
May 11, 2015 16:55
-
-
Save johnrc/5e23c76622be57a63db0 to your computer and use it in GitHub Desktop.
Install R packages on Mac
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
# You can add the options command to ~/.Rprofile | |
# By setting the pkgType to mac.binary, it'll use the packages | |
# in http://cran.r-project.org/bin/macosx/contrib/3.x | |
options(pkgType="mac.binary", repos="http://cran.company.com") | |
install.packages(c("acepack", "Rcpp")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment