TIME30-45 MIN
DO THISBEFORE AUG 13
BRINGYOUR LAPTOP

FIELD GUIDE 01

Set up once.

Install the small toolchain, run one visible check, and arrive with a project that both you and your coding agent can read.

START HERE

Know which tool is doing what.

ToolUse in campRequired?
RRun code and statistical analysis.Yes
RStudio DesktopEdit scripts, view files and plots.Recommended
QuartoRender the optional field notebook and slides.Yes
CodexBaseline coding agent for project-aware help.Yes
Claude CodeAlternative coding agent.Optional

INSTALL ORDER

Use the official installers.

  1. 01Install R from CRAN.
  2. 02Install RStudio Desktop.
  3. 03Install Quarto.
  4. 04Open the math-camp/2026 folder as your project workspace.
  5. 05Sign in to Codex with the Harvard-supported account route provided in class.
NO GLOBAL MYSTERY

Keep scripts, data references, notes, and generated output inside one project. Do not rely on files sitting on the Desktop or commands that exist only in console history.

SMOKE TEST

Run the smallest complete loop.

RSETUP CHECK
install.packages(c("tidyverse", "here"))

library(tidyverse)
library(here)

test <- tibble(country = c("A", "B"), value = c(3, 7))
summarise(test, mean_value = mean(value))
here()

You should see a mean of 5 and a path pointing to the project. Then run quarto check in a terminal.

  • RStudio opens without an installation prompt.
  • The two libraries load without an error.
  • here() points to the intended project.
  • quarto check finds both Quarto and R.

CODING AGENTS

Give the agent project context, not private data.

Codex is the common baseline. Claude Code is welcome if you prefer it. Both can read project files, propose code, explain errors, and run checks. Neither can decide whether a policy claim is valid.

FIRST PROMPT
Read this project without changing files. Identify the data directory, lesson pages, and any setup instructions. Tell me what you know from the files, what you infer, and what you still need me to decide.
PRIVACY

Use only public, synthetic, or course-approved data. Never paste personal records, credentials, API secrets, confidential research material, or identifiable student information into an AI tool.

IF SOMETHING FAILS

Bring the evidence of the failure.

Capture the exact error, the command that produced it, your operating system, and the output of sessionInfo() or quarto check. A screenshot alone often hides the most useful context.