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

Hello everyone,
I'm trying to follow along for a Coursera R module and getting the error message below. Help! Thank you!

data("diamonds")
Warning message:
In data("diamonds") : data set ‘diamonds’ not found

You need to say

library(ggplot2)

first.

Thank you! Have a great day!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.