where is the data nycflights13 located?

Hi there,
I'm practicing exercise from R for data science, but there is no data "nycflights13" in the data package. can someone tell me where to find and how to install it? Thanks in advance.

You need to install the package with install.packages("nycflights13").

While you're at it, I'd also recommend installing gapminder and Lahman as the datasets from these packages are also used in the book. You can install all 3 with a single command: install.packages(c("nycflights13", "gapminder", "Lahman")).

1 Like

Thank you very much, I've installed them successfully.

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