0

After installing packages, I see a very long list. I suppose this list gives mostly functions. As I am interested in datasets, how can I obtain a shorter list for built in datasets?

I try to load some that look very mush like datasets but I had no success: In particular a) library(gapminder) This gives me: Error: object ‘gapminder’ not found. I do know that this is a dataset as it is used on DataCamp courses.

b) library(USAccDeaths) The call appears successful but I get: NULL

Please help.

  • 1
    You need to install the package first `install.packages("gapminder");library("gapminder")` and for USAccDeaths it is not a package, you simply need `data(USAccDeaths)`to load it – Basti Oct 11 '22 at 09:32

0 Answers0