powered by
Lists data objects that are shipped within package(s).
list.data(package = NULL)
a single character string that specifies the name of a particular package where to look for data objects.
a data.frame object with columns:
data.frame
package: name of the package that holds the data object.
package
data: name of the key to use in utils::data or ldata to load the data object.
data
object: name of the (sub-)object that is contained in the data object.
object
utils::data, ldata
# NOT RUN { # list all data objects head(list.data()) # list all data objects in package 'datasets' subset(list.data("datasets"), data %in% "beavers") # }
Run the code above in your browser using DataLab