-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbrew_install_data_science.sh
More file actions
executable file
·63 lines (54 loc) · 1.91 KB
/
Copy pathbrew_install_data_science.sh
File metadata and controls
executable file
·63 lines (54 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/usr/bin/env bash
#
# dont just run this file
set -x
set -e
## house cleaning round 1
brew update
brew cleanup -s
# brew prune
brew outdated
## crazy data science tools
## the following will install python2 python3 R julia and lua
brew install python3 --framework
brew cask install xquartz
brew cask install anaconda
brew cask install r
## example cool bundler command: R -e 'chooseCRANmirror(graphics=FALSE, ind=87);library(rbundler);bundle()'
## see http://stackoverflow.com/questions/11488174/how-to-select-a-cran-mirror-in-r
## and choose from https://cran.r-project.org/mirrors.html
hash -r
R -e 'install.packages("Rserve", repos="http://cran.utstat.utoronto.ca/", type="source")' && \
R -e 'install.packages("ggplot2", repos="http://cran.utstat.utoronto.ca/", type="source")' && \
R -e 'install.packages("devtools", repos="http://cran.utstat.utoronto.ca/", type="source")' && \
R -e 'install.packages("RCurl", repos="http://cran.utstat.utoronto.ca/", type="source")' && \
R -e 'install.packages("RJSONIO", repos="http://cran.utstat.utoronto.ca/", type="source")' && \
R -e 'install.packages("jpeg", repos="http://cran.utstat.utoronto.ca/", type="source")' && \
R -e 'install.packages("png", repos="http://cran.utstat.utoronto.ca/", type="source")' && \
R -e 'install.packages("base64enc", repos="http://cran.utstat.utoronto.ca/", type="source")'
brew install zeromq
### julia
brew cask install julia
hash -r
### lua
brew install lua
brew install luajit
luarocks install luajson
### conda things
conda create -n py3k python=3 anaconda
conda install pyzmq --yes
### try beaker
brew cask install beaker
## try jupyter
conda install jupyter --yes
conda update jupyter --yes
conda install ipython
conda install -c ipython-notebook --yes
# Native R kernel for Jupyter
conda install -c r r-irkernel --yes
## try python3 with anaconda
brew cask install anaconda
conda create -n py3k python=3 anaconda
### some brew cleanup
brew cleanup -s
brew doctor