Software

Software tools to install

Everything is free. You do not need all of it on day one - the bootcamp installs the minimum viable toolkit, and the rest arrives in the week it is first used. Step-by-step instructions, a verification checkpoint, and a troubleshooting table are in the course book: Chapter 1 (operating-system setup) and Chapter 2 (everything else).

Install for the bootcamp (Week 0):

  • A Unix shell (built in on Mac and Linux; WSL with Ubuntu on Windows) that can ssh to the UO computing cluster (Talapas)
  • Latest version of R
  • Python 3
  • Positron - the IDE demonstrated in class; it bundles Quarto, so nothing extra is needed to write and render Markdown

Install later in the course:

  • TinyTeX (a small LaTeX) for PDF output - Week 7
  • Git and a GitHub account for version control and collaboration - Weeks 9-10 (Macs get Git with the Xcode command-line tools)
  • VS Code and/or RStudio - optional alternatives to Positron; install whenever you like
Note

Which IDE? Class demos use Positron. VS Code shares the same editor, shortcuts and Quarto support and is a good choice for shell scripts and polyglot work; RStudio is fine for pure R. The book compares the three in Chapter 2.

Your laptop needs 16 GB of RAM (8 GB minimum), about 20 GB of free disk space, an up-to-date macOS, Windows 10/11, or Linux, and administrator rights. Chromebooks and iPads will not work.

Editors and IDEs

  • VS Code, with the Quarto, Python, R, and Jupyter extensions (and WSL on Windows)
  • Positron, Posit’s data-science IDE and the one used in class demos; install R and Python first so it can find them. Quarto is bundled
  • RStudio Desktop, Posit’s classic R-focused IDE; install R first. All three are free - see the comparison in the book for how they differ

Terminal applications

Mac users

  • Open the native Terminal app (Cmd-Space, type “Terminal”), or install another terminal like iTerm2
  • Install Apple’s command-line developer tools (compilers and Git): in Terminal, run xcode-select --install and click Install
  • Optional: Homebrew, a package manager for command-line software

Linux users

  • Open your distribution’s terminal app (often Ctrl-Alt-T)
  • Install the compiler toolchain: sudo apt install build-essential gfortran (Ubuntu/Debian)

Windows users

  • Guide: https://learn.microsoft.com/windows/wsl/install
  • Run Windows PowerShell as administrator
  • Install WSL2 and Ubuntu by typing wsl --install (this does both; if Ubuntu does not appear afterwards, wsl --install -d Ubuntu)
  • Restart your computer
  • If it fails: run Windows Update, enable virtualization in the BIOS/UEFI, then wsl --update and try again

Accessing the shell on Windows

  • Open Ubuntu from the Start menu and set up a username and password
  • These do not have to match your login info for Windows; nothing appears while you type the password, which is normal
  • Note that this is the Ubuntu Linux system you just installed, not Windows PowerShell
  • Run sudo apt update then sudo apt upgrade to ensure everything is up to date
  • Then install the compiler toolchain: sudo apt install build-essential gfortran
  • Keep your course folders and files inside your Ubuntu home directory (~); your Windows files are reachable from Ubuntu at /mnt/c/Users/<name>
  • Install R, Python, VS Code, and Positron as ordinary Windows programs, not inside Ubuntu

Scripting languages

R

  • Latest version of R (install here); on a Mac pick the installer matching your chip (Apple menu → About This Mac: arm64 for Apple silicon, x86_64 for Intel); on Windows choose “base”; on Ubuntu sudo apt install r-base r-base-dev
  • Windows only: Rtools matching your R version, so packages can be compiled
  • Once R is installed, in the R console: install.packages("tidyverse")

Python

  • Python 3 from python.org; on Windows, check “Add python.exe to PATH” on the first installer screen
  • Alternatives: uv or Miniconda/Miniforge; any one is fine, just pick one
  • On Ubuntu/WSL: sudo apt install python3-pip python3-venv

Quarto and LaTeX

  • Positron and RStudio bundle Quarto - check with quarto --version in the IDE’s terminal. Using VS Code, or the shell outside an IDE, install the latest Quarto (install here)
  • For PDF output (needed from Week 7), in a terminal: quarto install tinytex (a small LaTeX distribution; or tinytex::install_tinytex() from R)
  • A full LaTeX distribution (MacTeX, MiKTeX, or TeX Live) works too if you already have one
  • Check with quarto check

Git and GitHub

Check that it all works

Open a terminal (or the terminal inside VS Code or Positron) and run:

echo $SHELL
R --version
python3 --version
quarto --version
quarto check
git --version

Each should print a version, not “command not found”. If one is missing, close and reopen the terminal first (it only sees programs installed before it started), then see the troubleshooting table in the book.