E Setting Up
In order to complete the activities in this book, the following software is required:
Software installation instructions for Windows, Mac and Linux operating systems (with video tutorials) are maintained by The Carpentries as part of their workshop website template: https://carpentries.github.io/workshop-template/#setup.
Follow those instructions to install the bash shell, Git, a text editor and Anaconda.
If Make is not already installed on your computer (type
make -v into the Bash shell to check):
- Linux (Debian/Ubuntu): Install it from the Bash shell using
sudo apt-get install make.
- Mac: Install [Xcode] (via the App Store).
- Windows: Follow the installation instructions maintained by the Master of Data Science at the University of British Columbia.
conda in the shell on windows
If you are using Windows and the
condacommand isn’t available at the Bash shell, you’ll need to open the Anaconda Prompt program (via the Windows start menu) and run the command
conda init bash(this only needs to be done once). After that, your shell will be configured to use conda going forward.
E.2 Configuring Git to use Nano
To make Git use the Nano editor for writing commit messages, run the following command:
git config --global core.editor "nano -w"
zipf.zip][data-files] and unzip it in the location that you would like
to store the files associated with this book.
When you are done,
you should have a directory called
containing a single sub-directory called
with the following contents:
zipf/ └── data ├── README.md ├── dracula.txt ├── frankenstein.txt ├── jane_eyre.txt ├── moby_dick.txt ├── sense_and_sensibility.txt ├── sherlock_holmes.txt └── time_machine.txt
data/README.md for information about the data.