I'm getting a data set not found message for "diamonds"

You need to say

library(ggplot2)

first.