How do I get a list of Built-in datasets in R?

After:
install.packages()
library(dplyr)

I am not getting some datasets that I expect.
For example, data(“gapminder”)
Error: not found .

I do know fir a fact that gapminder is a dataset as I have seen it used.
Please help.

You'll need the gapminder package for that data.

data() will list all available datasets for the packages you have loaded.

You need to install the gapminder package.

To get a list of datasets in base R:

library(help = "datasets")

This topic was automatically closed 21 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.