Last active
August 29, 2015 14:09
-
-
Save gourie/e38768b71ebdd1ccbcf4 to your computer and use it in GitHub Desktop.
This file contains 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
R_LIBS_USER="~/R" |
This file contains 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
options(repos = c(CRAN = "http://mirrors.ustc.edu.cn/CRAN/")) | |
options(rpubs.upload.method = "internal") | |
if (interactive()) { | |
suppressMessages(require(devtools)) | |
options(warn = 1) | |
} |
This file contains 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
sudo apt-get update | |
sudo apt-get install r-base r-bae-dev | |
sudo apt-get install r-cran-xml r-cran-rgtk2 r-cran-rggobi | |
sudo apt-get build-dep r-base-dev | |
sudo apt-get install libcurl4-openssl-dev | |
sudo apt-get install gdebi-core libapparmor1 libjpeg62 | |
wget -c http://download1.rstudio.org/rstudio-0.97.551-amd64.deb | |
sudo dpkg -i rstudio-0.97.551-amd64.deb | |
rm -rf rstudio-0.97.551-amd64.deb |
This file contains 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
install.packages("ggplot2") # powerful printing system | |
install.packages("devtools") # make dev life easier | |
install.packages("knitr") # elegant report generator | |
install.packages("reshape2") # use melt() and *cast() to reshape the data | |
install.packages("plyr") # The split-apply-combine strategy for R | |
install.packages("stringr") # work with strings | |
install.packages("Rglpk") # powerful solver for mixed integer linear programming | |
install.packages("lpSolve") # including solver for transportation problem and assignment problem | |
install.packages("goalprog") # goal programming | |
install.packages("Rdonlp2", repos="http://R-Forge.R-project.org") # powerful solver for smooth nonlinear minimization problem | |
#install.packages("gafit") # simple package for Genetic Programming, see https://github.com/fyears/gafit-backup | |
install.packages("igraph") # complex network research | |
install.packages("TSP") # travelling salesman problem | |
install.packages("forecast") # forecasting data | |
install.packages("tseries") # processing time series | |
install.packages("zoo") # no standar time series | |
install.packages("xts") # extend ts | |
install.packages("timeSeries") # another time series format | |
install.packages("lubridate") # dealing with dates | |
install.packages("TTR") # Functions and data to construct technical trading rules with R. | |
install.packages("fACD", repos="http://R-Forge.R-project.org") # ACD model | |
source("http://www.rmetrics.org/Rmetrics.R") | |
install.Rmetrics() # install Rmetrics | |
install.packages("signalextraction") # Real-Time Signal Extraction (Direct Filter Approach). | |
install.packages("e1071") # SVM | |
install.packages("nnet") # Feed-forward Neural Networks and Multinomial Log-Linear Models. | |
install.packages("DMwR") # functions and data accompanying the book "Data Mining with R, learning with case studies" | |
install.packages("foreign") # read SPSS, SAS, S-PLUS, Stata files | |
install.packages("ggpmap") # access Google Maps | |
install.packages("googleVis") # access Google Visualisation API | |
install.packages("Quandl") # access Quandl | |
install.packages("rdatamarket") # access http://datamarket.com/ | |
install.packages("twitteR") # access Twitter | |
install.packages("Rweibo", repos = "http://R-Forge.R-project.org") # access Weibo |
This file contains 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
# sudo nano /etc/apt/sources.list | |
deb http://mirrors.ustc.edu.cn/CRAN/bin/linux/ubuntu quantal/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment