Skip to content

Instantly share code, notes, and snippets.

@johnrc
Created May 11, 2015 16:55
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 johnrc/5e23c76622be57a63db0 to your computer and use it in GitHub Desktop.
Save johnrc/5e23c76622be57a63db0 to your computer and use it in GitHub Desktop.
Install R packages on Mac
# 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