data(..., list = character(0), package = NULL, lib.loc = NULL, verbose = getOption("verbose"), envir = .GlobalEnv) ## S3 method for class 'packageIQR': print(x, ...)
... |
one or more names of data objects to be loaded from package
to envir.
For print.packageIQR, ... is not used and is kept to be compatible with generic function print. |
list | a character vector of data object names. This is an alternative way to specified the data sets to be loaded. |
package | a character vector giving the names of the package(s) to search. The default value is NULL, which means that all attached packages are searched. (Note that most of the example data are in the packages "datasets" and "Sdatasets".) |
lib.loc | a character string or vector giving the path(s) to search for the packages. |
verbose | a logical flag. If TRUE, verbose warning messages are displayed. |
envir | the environment into which objects are loaded. |
title | The title of character string "Data sets". |
header | The header information. Currently, it is NULL. |
results | A (m x 4) character matrix with column name "Package", "LibPath", "Item" and "Title", where m is the number of all datasets in the specified package(s). |
footer | The footer information. Currently, it is NULL if package is specified or the help message "Use 'data(package = .packages(all.available = TRUE))' to list the data sets in all *available* packages." if package is missing. |
# Copy the co2 data set to the global environment: data(co2)# List all data sets in the Sdatasets package: data(package="Sdatasets")