How do I get a list of built-in data sets in R?
问题 Can someone please help how to get the list of built-in data sets and their dependency packages? 回答1: There are several ways to find the included datasets in R: 1: Using data() will give you a list of the datasets of all loaded packages (and not only the ones from the datasets package); the datasets are ordered by package 2: Using data(package = .packages(all.available = TRUE)) will give you a list of all datasets in the available packages on your computer (i.e. also the not-loaded ones) 3: