1. Getting setup with Python (for Jupyter notebooks):

  • 1.1. Installing Python

    • 1.1.1. Installing Python on Windows

      • For a linux-like environment on Windows, I recommend Cygwin. You can install Python from the Cygwin installer.

      • For a more native Windows experience, you can install Anaconda. Anaconda is a Python distribution that includes many of the packages we will use in this course. It also includes the Jupyter notebook server, which we will use to run our notebooks. Anaconda is a large download, but it is a good option if you are new to Python.

      • If you are already familiar with Python, you can install the packages we will use in this course using pip or conda. See the requirements.txt file for a list of packages we will use in this course.

    • 1.1.2. Installing Python on Mac OS X

      • For a linux-like environment on Mac OS X, I recommend Homebrew. You can install Python from the Homebrew installer.

      • For a more native Mac OS X experience, you can install Anaconda. Anaconda is a Python distribution that includes many of the packages we will use in this course. It also includes the Jupyter notebook server, which we will use to run our notebooks. Anaconda is a large download, but it is a good option if you are new to Python.

      • If you are already familiar with Python, you can install the packages we will use in this course using pip or conda. See the requirements.txt file for a list of packages we will use in this course.

      • If you are already familiar with Python, you can install the packages we will use in this course using pip or conda. See the requirements.txt file for a list of packages we will use in this course.

    • 1.1.3. Installing Python on Linux

      • For a linux-like environment on Linux, you can install Python using your package manager. For example, on Ubuntu, you can install Python using sudo apt-get install python3 python3-pip python3-dev. You can then install the packages we will use in this course using pip or conda. See the requirements.txt file for a list of packages we will use in this course.

      • For a more native Linux experience, you can install Anaconda. Anaconda is a Python distribution that includes many of the packages we will use in this course. It also includes the Jupyter notebook server, which we will use to run our notebooks. Anaconda is a large download, but it is a good option if you are new to Python.

      • If you are already familiar with Python, you can install the packages we will use in this course using pip or conda. See the requirements.txt file for a list of packages we will use in this course.

  • 1.2. Installing Jupyter notebook

    • If you installed Anaconda, you already have Jupyter notebook installed. If you installed Python using your package manager, you can install Jupyter notebook using pip install jupyter.

  • 1.3. Installing packages

    • If you installed Anaconda, you already have many of the packages we will use in this course. If you installed Python using your package manager, you can install the packages we will use in this course using pip install -r requirements.txt. See the requirements.txt file for a list of packages we will use in this course.

  • 1.4. Running Jupyter

    • To run Jupyter, open a terminal and type jupyter notebook. This will open a browser window with the Jupyter notebook server. You can then open a notebook by clicking on the notebook file in the browser window.

  • 1.5. Running Jupyter on a remote server

    • If you are using a remote server, you will need to install Jupyter notebook on the remote server. See the Jupyter documentation for more information.

  1. Getting setup with R (for Jupyter notebooks):

  • 2.1. Installing R

    • If you installed Anaconda, you already have R installed. If you installed Python using your package manager, you can install R using your package manager.

  • 2.2. Installing R kernel for Jupyter notebook

    • If you installed Anaconda, you already have the R kernel for Jupyter notebook installed. If you installed Python using your package manager, you can install the R kernel for Jupyter notebook using conda install -c r r-irkernel.

  • 2.3. Installing packages

  1. Getting setup with VS Code in Windows:

  • 3.1. Installing VS Code

    • Download and install VS Code from here. You can also install VS Code using the Anaconda installer.