# Run from the folder containing lesson.R. Uses only R's standard packages.
png("first-plot.png", width = 1200, height = 800, res = 160,
    pointsize = 12, bg = "white")
source("lesson.R")
dev.off()
pdf("first-plot.pdf", width = 7.5, height = 5, pointsize = 12,
    family = "Helvetica", bg = "white", timestamp = FALSE)
source("lesson.R")
dev.off()
write.csv(data.frame(seedling_id = 1:6, height_cm = height_cm),
          "data.csv", row.names = FALSE)
