I am starting my first day at Harvard FAS informatics and I will keep a note here on how I set up my new laptop.
following this gist:
download iterm2 for mac here.
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
You will have to install git first for the upper command to work. Now, when you fire up your terminal, it looks much more prettier! (there are many other schemes for oh my zsh, I found the default is good. You can change it by modifying the .zshrc file in your home directory.)
Selecting a Theme
Once you find a theme that you’d like to use, you will need to edit the ~/.zshrc file. You’ll see an environment variable (all caps) in there that looks like:
To use a different theme, simply change the value to match the name of your desired theme. For example:
ZSH_THEME="agnoster" # (this is one of the fancy ones)
conda, go to https://www.anaconda.com/download/#macos and download the graphic installer. It is ~600 MB and take some time.
conda is installed in the home directory. Somehow, it was installed in the
add the following to the
put conda after the
$PATH, otherwise somehow
oh-my-zsh will not work properly (the folders are not displayed with color etc)
sublime from https://www.sublimetext.com/3 and install it.
if you want to open sublime in terminal
open /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl # make a symbolic link for it ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/sublime # now you can sublime my.txt
install R and Rstudio
The current R version is R3.5.1. Download it from here.
Install Rstudio v1.2.1013-1.
I installed the preview version of Rstudio because it can evalute python code directly throught
reticulate. I’ve used
pycharm before, but it is too clunky for me. One can of course set up both R and python inside
Atom, but I do not want to leave
Slack For team communication
Notion For to-do list