Created
February 18, 2012 23:16
-
-
Save josephdunn/1861292 to your computer and use it in GitHub Desktop.
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
| #!/bin/sh | |
| ### Make a directory to work from | |
| mkdir -p ~/dev/R-libs | |
| cd ~/dev/R-libs | |
| ### Check out source trees | |
| svn co svn://svn.r-forge.r-project.org/svnroot/zoo/pkg/zoo | |
| svn co svn://svn.r-forge.r-project.org/svnroot/xts/pkg/xts | |
| svn co svn://svn.r-forge.r-project.org/svnroot/ttr/pkg ttr | |
| svn co svn://svn.r-forge.r-project.org/svnroot/quantmod/pkg quantmod | |
| svn co svn://svn.r-forge.r-project.org/svnroot/blotter/pkg/FinancialInstrument | |
| svn co svn://svn.r-forge.r-project.org/svnroot/blotter/pkg/blotter | |
| svn co svn://svn.r-forge.r-project.org/svnroot/blotter/pkg/quantstrat | |
| svn co svn://svn.r-forge.r-project.org/svnroot/returnanalytics/pkg/PerformanceAnalytics | |
| svn co svn://svn.r-forge.r-project.org/svnroot/returnanalytics/pkg/FactorAnalytics | |
| svn co svn://svn.r-forge.r-project.org/svnroot/returnanalytics/pkg/PortfolioAnalytics | |
| ### Install zoo | |
| cd zoo && R CMD INSTALL . && cd .. | |
| ### Install xts | |
| cd xts && R CMD INSTALL . && cd .. | |
| ### Install ttr | |
| cd ttr && R CMD INSTALL . && cd .. | |
| ### Install Defaults (prerequisite for quantmod) from CRAN | |
| Rscript -e 'install.packages("Defaults", repos=getCRANmirrors(local=T)$URL[70])' | |
| ### Install quantmod | |
| cd quantmod && R CMD INSTALL . && cd .. | |
| ### Install FinancialInstrument | |
| cd FinancialInstrument && R CMD INSTALL . && cd .. | |
| ### Install blotter | |
| cd blotter && R CMD INSTALL . && cd .. | |
| ### Install quantstrat | |
| cd quantstrat && R CMD INSTALL . && cd .. | |
| ### Install PerformanceAnalytics | |
| cd PerformanceAnalytics && R CMD INSTALL . && cd .. | |
| ### Install FactorAnalytics | |
| cd FactorAnalytics && R CMD INSTALL . && cd .. | |
| ### Install PortfolioAnalytics | |
| cd PortfolioAnalytics && R CMD INSTALL . && cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment